Where have you placed the UserData.class file, it should be placed in the
/WEB-INF/classes directory.
In the above case it is assumed that the UserData.java doesnot have a
package statement.
Have a nice day.
With regards,
Sachin S. Khanna
http://www.emailanorder.com
----- Original Message -----
From: Rajinder Sandhu <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 17, 2001 11:41 AM
Subject: configuring tomcat


> Hi All ,
>
> I have installed Tomcat (apache tomcat/4.0-b5) on my machine. It is
> processing JSPs.
> But there is a problem when i use <Use:Bean> Tag
> it throws exception :-
>
> org.apache.jasper.JasperException: Unable to compile class for
> JSPE:\tomcat\bin\..\work\localhost\examples\SaveName1_jsp.java:57: Class
> org.apache.jsp.UserData not found.
>                 UserData user = null;
>                 ^
> E:\tomcat\bin\..\work\localhost\examples\SaveName1_jsp.java:60: Class
> org.apache.jsp.UserData not found.
>                     user= (UserData)
>                            ^
> E:\tomcat\bin\..\work\localhost\examples\SaveName1_jsp.java:65: Class
> org.apache.jsp.UserData not found.
>                             user = (UserData)
> java.beans.Beans.instantiate(this.getClass().getClassLoader(),
"UserData");
>
> Although Class file Userdata is in \examples\web-inf\classes directory.
>
> AnyHelp wil be appreciated.
>
> Cheers!!
> Raj
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to