this sounds like you maybe haven't properly imported the necessary class packages into your JSP file with @page declarative statement, like so for example:
<% @ page import="java.util.*,%> just a guess, but probably a sound one in this case. -----Original Message----- From: Joly M [mailto:[EMAIL PROTECTED] Sent: Friday, December 21, 2007 3:59 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: how to run a simple jsp file the log says it can't load the class for JSP 2007/12/21, Pid <[EMAIL PROTECTED]>: > > Joly M wrote: > > Hello there, > > > > I'm struggling on running JSP files. > > I've got some JSP files containing Java codes. When I try to run those > > files, I get an error number 500. > > When I run JSP files not containing any Java code at all, Everything > works. > > It seems like the problem comes from Java files. > > > > I know that I've got to configure some XML files (eg: web.xml) in order > to > > run any Servlet. > > Is there any XML files I have to configure to run JSPs on Apache Tomcat > 6 ? > > > > Cheers > > > > What do the logs say is causing the error? > > > > p > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]