Sorry, this is not an answer, just a word to say i face the same problem. With TomCat 3.3, all where ok. Installed 4 this morning, And when referencing a bean from a jsp, i get:
org.apache.jasper.JasperException: Unable to compile class for JSP An error occured between lines: 72 and 83 in the jsp file: /wapstate.jsp Generated servlet error: D:\TomCat4\work\localhost\offsyncwap\wapstate$jsp.java:152: Class org.apache.jsp.WPKDoc not found. WPKDoc myDoc = (WPKDoc)session.getAttribute("myDoc"); ^ It does not find WPKDoc class (which is in the WEB-INF/classes directory) You may note I don't use the <jsp:useBean> syntax, but i tested it: it gives the same problem since it produces a .java file in the work directory with the same rpoblem... Cordialement, Nicolas Silber*zahn Digital Airways Everywhere <Internet>Technologies</Internet> <100% Java, Mobile, Offline aware>Wapaka Browser</100% Java, Mobile, Offline aware> www.DigitalAirways.com Hey! Want to see the Header your WAP phone/Gateway sends to the server? Give your email at this WAP URL and you will receive it... http://www.DigitalAirways.com/waphead/default.asp >-----Message d'origine----- >De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Envoye : mardi 26 fevrier 2002 15:51 >A : Tomcat Users List >Objet : Re: problem in using <jsp:usebean... > > > > > > > > >"arun yadav" <[EMAIL PROTECTED]> on 02/26/2002 07:24:49 AM > >Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] >cc: > >Subject: problem in using <jsp:usebean... > >Hello friends, >Iam doing a project using jsp.Iam facing a problem in calling a bean from a > >jsp page.Tomcat is unable to find the bean class.Can anybody guide me how >to >do that. >I have put my bean class in /webapps/examples/jsp/Online/WEB-INF/classes >& the jsp file in /Online folders. > >First, is the directory structure set right? The WEB-INF directory should >be under examples. You might need to move WEB-INF from the Online directory >to under examples. >You directory structure should be: > >webapps > | > ----examples > | > -----WEB-INF > | | > | ----classes > | > -----jsp > | > ----Online > > > >-regards >ARUN > > > > >_________________________________________________________________ >Send and receive Hotmail on your mobile device: http://mobile.msn.com > > >-- >To unsubscribe: <mailto:[EMAIL PROTECTED]> >For additional commands: <mailto:[EMAIL PROTECTED]> >Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > > > > > > >-- >To unsubscribe: <mailto:[EMAIL PROTECTED]> >For additional commands: <mailto:[EMAIL PROTECTED]> >Troubles with the list: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>