tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Whitla" <dave.whi...@nationalmortgage.com.au>
Subject Re: Jasper error
Date Tue, 22 Jan 2002 01:09:04 GMT
You have to import the UserData class.

<%@ page import="java.sql.Timestamp" %>

----- Original Message -----
From: "Debby Dart" <ddart@doradosoftware.com>
To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
Sent: Tuesday, January 22, 2002 11:08 AM
Subject: Jasper error


>
> I'm a newbie to Tomcat and JSP and fairly new to Java.  While running a
test
> script with Tomcat 4.0, I get the following error:
>
> ...
> org.apache.jasper.JasperException: Unable to compile class for JSP
>
> An error occurred at line: 3 in the jsp file: /SaveName.jsp
>
> Generated servlet error:
> C:\java-apps\Apache Tomcat
4.0\work\localhost\testapp\SaveName$jsp.java:65:
> Class org.apache.jsp.UserData not found.
>                 UserData user = null;
> ...
>
> Line 3 in the script is :
> <jsp:useBean id="user" class="UserData" scope="session"/>
>
> I thought all I needed to do was to place the file UserData.class into the
> webapps\testapp\Web-inf\classes directory, but apparently I'm missing
> something.
>
> I have looked at most of the documentation I can find and tried to use
> web.xml - going to this list with such a basic question is a last resort.
>
> Thanks for your patience and all help you can provide.
>
>
> --
> 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