now it is working..
1. i made a directory under examples and put my jsps in that.
2. Another directory same name in web-inf\classes.
3. java file has this line of code package directoryName ;
now it works fine.
I dont know why always i have to use package, it is supposed to take the
class file from web-inf\classes\ directory, as it is processing JSPs
directly from examples directory ??
Cheers!!
raj
-----Original Message-----
From: Sachin S. Khanna [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 2:42 PM
To: [EMAIL PROTECTED]
Subject: Re: configuring tomcat
Post your entire code for the jsp and bean to this list.
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 12:33 PM
Subject: Re: configuring tomcat
> I am working in windows environment.
>
> jsp file is in \examples\ directory
> class file is in \examples\web-inf\classes\ directory
>
> java_home = c:\jdk1.3
> tomcat_home = e:\tomcat\bin
>
> It is still giving same exception.
>
> thanx for the reply.
>
> Cheers !!
> raj
>
>
> -----Original Message-----
> From: Sachin S. Khanna [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 12:28 PM
> To: [EMAIL PROTECTED]
> Subject: Re: configuring tomcat
>
>
> 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
>
>
===========================================================================
> 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
===========================================================================
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