Just checking the syntax of your useBean tag:

in your email you said you're using the '<Use:Bean>' tag

this should be <jsp:useBean..... /> eg:

<jsp:useBean id="mybean" scope="session" class="MyClass" />

This could be why tomcat can't find your class.

Hope this helps

Paul

> -----Original Message-----
> From: Rajinder Sandhu [mailto:[EMAIL PROTECTED]]
> Sent: 17 July 2001 07:12
> To: [EMAIL PROTECTED]
> 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