W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 2001

Re: using Tomcat's Jsp-Engine from other web-server (Jigsaw)

From: Yves Lafon <ylafon@w3.org>
Date: Tue, 26 Jun 2001 13:47:28 +0200 (MET DST)
To: <Christian.Schildt@Elaxy.com>
cc: <www-jigsaw@w3.org>
Message-ID: <Pine.GSO.4.33.0106261332250.12846-100000@tarantula.inria.fr>
On Mon, 25 Jun 2001 Christian.Schildt@Elaxy.com wrote:

> Hi,
>
> I am trying to use the Tomcat's Jsp-engine from other web server Jigsaw. In
> the manual of the Jigsaw is said that I have to redirect *.jsp requests to
> the according servlet. I redirect to JspServlet.class. The redirection
> functions but the servlet does not work (jsp is not compiled and not
> executed).

The setup I have:
in /servlet/
I have jakarta-jsp
ServletWrapper
    ServletWrapperFrame

Arguments of the servlet wrapper:
class: org.apache.jasper.runtime.JspServlet
servlet parameters: keepgenerated true
                    SendErrToClient true
                    scratchdir /tmp
The latter one imply that I am using Unix ;)

In the default indexer, I have this:
jsp
FileResource
   ServletMapperFrame

parameter of ServletMapperFrame
servlet-url /servlet/jakarta-jsp

You need to have jasper.jar and tools.jar (from the jdk) in your classpath

Note that if your jsp are already indexed, you have to delete them.

-- 
Yves Lafon - W3C
"Baroula que barouleras, au tiéu toujou t'entourneras."
Received on Tuesday, 26 June 2001 07:47:36 GMT

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