Re: more on JSPs

On Fri, 21 Jul 2000, Carlos Motta wrote:

> 
> Hi everybody,
> 
> I'm using Jigsaw 2.0.5 and installed the Tomcat servlet engine (with a
> little help from my friends http://www.w3.org/Jigsaw/Doc/User/jsp.html &
> http://www.klomp.org/gnujsp/INSTALL.jigsaw). It seems to be working
> fine. However, if my JSPs contain class "import statements" Tomcat can't
> locate these classes. I'm getting the following error:
> 
> Servlet has thrown exception:org.apache.jasper.JasperException: Unable
> to compile class for
> JSP<temp_file_name> Class <my_class> not found in import. import
> <my_class>

When you set up the jsp servlet using jakarta (Tomcat), try to add this in
the configuration of the ServletWrapper:
in the servlet parameter 
scratchdir = /tmp (std unix temp dir)
keepgenerated = true
sendErrToClient = true

Attached is a picture of the editing box of servlet parameters.
Hope this helps,

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    

Received on Monday, 24 July 2000 05:25:41 UTC