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

Re: Using Sun's JSWDK (JSP) with Jigsaw

From: Ray <ray.allis@boeing.com>
Date: Sun, 25 Jul 1999 22:48:08 -0400 (EDT)
Message-Id: <379BA3D6.76AEA5DE@boeing.com>
CC: Jigsaw List <www-jigsaw@w3.org>
Me again.  Sun's JSWDK works with Jigsaw!  Just a couple of little things...
The server in the JSWDK passes a full path to the JSP compiler; Jigsaw's
PassDirectory passes a path relative to the document root.  I can make this
work by putting a copy of the .jsp page at the Unix root - /jsp/snoop.jsp. :)
But it does not really work correctly, of course.

Curiously, JSWDK passes a relative work directory path, and an absolute
source .jsp path.  Jigsaw does exactly the opposite.

Is this my configuration problem?  I left the JSWDK as distributed, separate
from Jigsaw, and included it in my $CLASSPATH when I started Jigsaw.
I think this will make upgrading easier.

Also, I don't understand why, when I copy a .class file from the JSWDK's example
servlets, Jigsaw does not index it as a servlet, but as default http.  Then, if I

delete the resource and re-index /servlet, the indexer fails.

Ray Allis

Yves Lafon wrote:

> On Thu, 22 Jul 1999, Ray Allis wrote:
>
> > Yves Lafon wrote:
>
> > > jspindexer
> > >  |
> > >  -- directories
> > >  |   |
> > >  |   -- *default* (org.w3c.jigsaw.resources.PassDirectory)
> > >  |                      (ServletDirectoryFrame)
> > >  |
> > >  -- extensions
> > >      |
> > >      -- jsp (org.w3c.jigsaw.servlet.ServletWrapper) (it create its frame
> > >                   (ServletWrapperFrame)              directly)
> > >
> > > the servlet class is com.sun.jsp.runtime.JspServlet
> > > and "scratchdir=<mypath>/Jigsaw/Jigsaw/compiledPage"
> > > in the servler parameters.

234 memes.sea.boeing.com /export/home/ray/Jigsaw/Jigsaw:echo $CLASSPATH
/export/home/ray/Jigsaw/classes/jigadmin.jar:/export/home/ray/Jigsaw/classes/jigsaw.zip:/export/home/ray/Jigsaw/Jigsaw:/site/jdk1.2.2/lib/tools.jar:/site/jswdk-1.0-ea/webserver.jar:/site/jswdk-1.0-ea/lib/servlet.jar:/site/jswdk-1.0-ea/lib/jspengine.jar:/site/jswdk-1.0-ea/lib/jsp.jar:/site/jswdk-1.0-ea/examples/WEB-INF/jsp/beans

-----
234 memes.sea.boeing.com /export/home/ray/Jigsaw/Jigsaw:loading properties from:
/export/home/ray/Jigsaw/Jigsaw/config/server.props
Jigsaw[2.0.2]: serving at http://memes.sea.boeing.com:8001/
JigAdmin[2.0.2]: serving at http://memes.sea.boeing.com:8009/

234 memes.sea.boeing.com /export/home/ray/Jigsaw/Jigsaw:Scratch dir for
JSP-generated servlets is: /export/home/ray/Jigsaw/Jigsaw/compiledPage
IMPORTANT: Do not modify the generated servlets
JspEngine --> /jsp/snoop.jsp
-----
238 memes.sea.boeing.com /site/jswdk-1.0-ea:./startserver
Using classpath:
/site/jdk1.2.2/lib/tools.jar:./webserver.jar:./lib/servlet.jar:./lib/jspengine.jar:./lib/jsp.jar:./examples/WEB-INF/jsp/beans:/export/home/ray/Jigsaw/classes/jigadmin.jar:/export/home/ray/Jigsaw/classes/jigsaw.zip:/export/home/ray/Jigsaw/Jigsaw:/site/jdk1.2.2/lib/tools.jar:/site/jswdk-1.0-ea/webserver.jar:/site/jswdk-1.0-ea/lib/servlet.jar:/site/jswdk-1.0-ea/lib/jspengine.jar:/site/jswdk-1.0-ea/lib/jsp.jar:/site/jswdk-1.0-ea/examples/WEB-INF/jsp/beans

239 memes.sea.boeing.com /site/jswdk-1.0-ea:JavaServer(tm) Web Dev Kit Version
1.0 EA
Loaded configuration from file:/site/jswdk-1.0-ea/default.cfg
endpoint created: :8080

239 memes.sea.boeing.com /site/jswdk-1.0-ea:com.sun.web.core.DefaultServlet: init

com.sun.jsp.runtime.JspServlet: init
Scratch dir for JSP-generated servlets is: work/%3A8080%2Fexamples
IMPORTANT: Do not modify the generated servlets
JspEngine --> /site/jswdk-1.0-ea/examples/jsp/snp/snoop.jsp
Received on Monday, 26 July 1999 03:35:26 GMT

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