I Get the same problem. The above import fixed the problem. This as not mandatory with TC3? It worked fine without the import...
Nicolas Silberzahn Digital Airways Everywhere <Internet>Technologies</Internet> <100% Java, Mobile, Offline aware>Wapaka Browser</100% Java, Mobile, Offline aware> www.DigitalAirways.com >-----Message d'origine----- >De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Envoye : mercredi 27 fevrier 2002 17:48 >A : Tomcat Users List >Objet : Re: Unable to compile class for JSP > > > >see intermixed > > > > >Andrew Rodwell <[EMAIL PROTECTED]> on 02/27/2002 10:30:37 AM > >Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> > >To: Tomcat Users List <[EMAIL PROTECTED]> >cc: > >Subject: Unable to compile class for JSP > >Hi, > >I am trying to use a bean in my jsp. > ><jsp:useBean id='lineB' scope='page' class='fwLine' type="fwLine" /> > >when it is run I get the following. > >org.apache.jasper.JasperException: Unable to compile class for JSP > >An error occurred at line: 9 in the jsp file: /fwView.jsp > >Generated servlet error: >C:\tomcat\work\localhost\_\fwView$jsp.java:61: Class org.apache.jsp.fwLine >not found. > fwLine lineB = null; > ^ > > >An error occurred at line: 9 in the jsp file: /fwView.jsp > >Generated servlet error: >C:\tomcat\work\localhost\_\fwView$jsp.java:64: Class org.apache.jsp.fwLine >not found. > lineB= (fwLine) > ^ > > >An error occurred at line: 9 in the jsp file: /fwView.jsp > >Generated servlet error: >C:\tomcat\work\localhost\_\fwView$jsp.java:69: Class org.apache.jsp.fwLine >not found. > lineB = (fwLine) >java.beans.Beans.instantiate(this.getClass().getClassLoader(), "fwLine"); > >it seems to expect my bean to be in org.apache.jsp. > >You got that right. It's looking in org.apache.jsp package. You need to >import the class in your jsp. > >have I missed something on the setup, like in web.xml > >Thank you for any help. > >Andrew > > > > > > > > > > >-- >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]>
