Never mind. I found this described in Bug #10036.

-----Original Message-----
From: Sexton, George [mailto:[EMAIL PROTECTED]]
Sent: 02 October, 2002 9:03 AM
To: Tomcat Developers List
Subject: RE: JSP Compilation Problem: Tomcat 4.1.12


I'm confused by the change in behavior. I can use JDK 1.4 w/ Tomcat 4.0.4
and it works.

-----Original Message-----
From: peter lin [mailto:[EMAIL PROTECTED]]
Sent: 02 October, 2002 8:56 AM
To: Tomcat Developers List
Subject: Re: JSP Compilation Problem: Tomcat 4.1.12



if you're using jdk 1.4, you have to have package names for your
classes. If you do not, it won't load the class correctly.

have you tried giving your classes a package name and trying it again?

peter

"Sexton, George" wrote:
>
> I posted this several days ago on tomcat-user and haven't gotten any
> responses so I am reposting it here.
>
> I am running into a problem with JSP pages under 4.1.12. I looked through
> the release notes, and the documentation and I can't find anything that
> seems to apply. Given a Servlet with the line:
>
> <%@ page import="WebApp, CalServlet" %>
>
> where WebApp and CalServlet are classes in my application WEB-INF/classes
> directory that compiles under 4.0.4, when I try to run the servlet under
> 4.1.12, it crashes on compile with the following message:
>
>
/usr/local/jakarta-tomcat-4.1.12/work/Standalone/localhost/caldev/index_jsp.
> java:7: '.' expected
> import WebApp;
>
> I turned on debugging, and the classpath looks correct:
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to