Hi:

I've got a jsp page in tomcat that calls a bean.

Here's the call:
<jsp:useBean id="reader" class="DelimitedDataFile" scope="request">

The DelimitedDataFile.class, non-packaged, is in the WEB-INF\classes\jsp
directory.

When I try to serve the page, I get this message.

org.apache.jasper.JasperException: Unable to compile class for JSPerror:
File D:\tomcat\examples\WEB-INF\classes\jsp\DelimitedDataFile.class does not
contain type jsp.DelimitedDataFile as expected, but type DelimitedDataFile.
Please remove the file, or make sure it appears in the correct subdirectory
of the class path.
work\8080%2Fexamples\_0005cjsp_0005creadJsp_0002ejspreadJsp_jsp_0.java:63:
Class jsp.DelimitedDataFile not found.

Can anyone tell me, do I have to package the bean, add a subdirectory, or
what?
The clue seems to be: "does not contain type jsp.DelimitedDataFile as
expected, but type DelimitedDataFile. "

Thanks!
Roger Sutro
45 Punchbowl Trail
W. Kingston, RI 02892
[EMAIL PROTECTED]
401-789-1758 , 401-789-7181, cell: 401-862-5621

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to