Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 23, 2012, 10:30:11 PM

Pages: [1]   Go Down
  Print  
Author Topic: jsp:useBean can't find class  (Read 1996 times)
nateduncan81
Newbie
*
Offline Offline

Posts: 1


« on: September 25, 2008, 05:26:15 AM »

I am having a problem and I am not having very much luck with getting it solved.  I created a Java Bean class called 'LoginCheckBean'  and I compiled it just fine and published it up to the WEB-INF/classes folder.  However, when I try to go to one of my jsp pages that I am calling this bean from I get the following error.

jsp:useBean can't find class `LoginCheckBean'

In my jsp page, I have the standard call for the bean as the following.

   <jsp:useBean id="LoginCheckBean" type="LoginCheckBean"  class="LoginCheckBean" scope="request"></jsp:useBean>

I opened up a support ticket but I am getting very little help.  They originally told me to recompile my code using JSDK 1.5.  So I downloaded it from the following link http://java.sun.com/javase/downloads/index_jdk5.jsp  .  I uninstalled the JDK 1.6 I originally had on my computer and installed the 1.5 and compiled my code (and it compiled successfully) to which I did and I had no success.  After that failed, I then uninstalled the JDK 1.5 and installed JDK 1.4 from the following link  http://java.sun.com/j2se/1.4.2/download.html .  This compiled the code correctly and I republished to the appropriate directory and I am still getting the jsp:useBean can't find class 'LoginCheckBean'.  Does anyone know what else I can do. 

Thanks,

Nate



Logged
Pages: [1]   Go Up
  Print  
 
Jump to: