- From: Jen Hsien Huang <u5321007@ncnu.edu.tw>
- Date: Tue, 27 Jul 1999 17:01:36 -0400 (EDT)
- To: <www-jigsaw@w3.org>, "Yves Lafon" <ylafon@w3.org>
Hi , I have tried it , but it alway got error [http-server] unable to set servlet class "com.sun.jsp.runtime.JspServlet" : null what's the problem? -Brenden- @_@ > > I struggle with it a little this morning, and here is a setup that works: > > First, SUN's servlet engine uses given PATH to the servlet to read the jsp > file, it means that you should not use ServletMapperFrame on top of a > FileResource, but directly create the resource as a servlet. > So I created a jspindexer with the following settings: > > 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. > > I set the dir to have jspindexer as the indexer, and it worked :) (Of > course i you do it afterward, you should remove all the resources behind > and recreate them, as the directories should have a ServletDirectoryFrame) > Regards, > > > /\ - Yves Lafon - World Wide Web Consortium - > /\ / \ Architecture Domain - Jigsaw Activity Leader > / \ \/\ > / \ / \ http://www.w3.org/People/Lafon - ylafon@w3.org > > > >
Received on Wednesday, 28 July 1999 03:58:45 UTC