tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Silberzahn" <NiSJ...@DigitalAirways.com>
Subject RE: problem in using <jsp:usebean...
Date Tue, 26 Feb 2002 17:07:19 GMT
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 : rsequeira@transentric.com [mailto:rsequeira@transentric.com]
>Envoye : mardi 26 fevrier 2002 15:51
>A : Tomcat Users List
>Objet : Re: problem in using <jsp:usebean...
>
>
>
>
>
>
>
>
>"arun yadav" <arun_y48@hotmail.com> on 02/26/2002 07:24:49 AM
>
>Please respond to "Tomcat Users List" <tomcat-user@jakarta.apache.org>
>
>To:   tomcat-user@jakarta.apache.org
>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:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>
>
>
>
>
>
>
>
>--
>To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message