W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 2000

Re: more on JSPs

From: Yves Lafon <ylafon@w3.org>
Date: Mon, 24 Jul 2000 11:25:24 +0200 (MET DST)
To: Carlos Motta <cmotta@nortelnetworks.com>
cc: www-jigsaw@w3.org
Message-ID: <Pine.GSO.4.21.0007241117580.12460-100001@tarantula.inria.fr>
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    



parameter.png
(IMAGE/png attachment: parameter.png)

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:34 GMT