- From: Dorab Patel <dorab@twinsun.com>
- Date: Thu, 28 May 1998 15:02:11 -0700
- To: dchan@zeus.lnk.com
- CC: www-jigsaw@w3.org
As someone who had to go through this just recently, here is what I did. Assume you want to install the servlet in the file `SimpleServlet.class'. * Create the directory `servlets' under `Jigsaw/WWW'. * Put `SimpleServlet.class' under the `servlets' directory just created. * Start JigAdmin program, connect to `your-host:8009' and login with user/passwd admin/admin, unless you've changed the defaults. * Click on the `Root' icon. Then click on `http-server' icon. * Select `space' by clicking on the name. * That will bring up editors. Click on the `Resources' button to bring up the Resources Editor. * Enter `servlets' as the identifier, and select or type in `org.w3c.jigsaw.resources.DirectoryResource' as the class. * Click on `Add Resource'. This should add the `servlets' resource to the `space' resource. * Click on the `space' icon. It should open up to reveal the `servlets' folder. * Select the `servlets' resource by clicking on its name. * Click on the `Frame' button. This should bring up the Frame Editor. * Select or type in `org.w3c.jigsaw.servlet.ServletDirectoryFrame' as the frame class in the texst input field provided. * Click on the `Add Frame' button. * Bring up the Resource Editor on the `servlets' resource. Sometimes I had to go select some other resource and then come back to the `servlets' resource to make this happen. * Enter `Simple' as the identifier, and select on type in `org.w3c.jigsaw.servlet.ServletWrapper' as the class. This will allow you to call on your servlets by the name "Simple". * Click on the the `Add Resource' button. * Bring up the Attribute Editor by clicking on the `Attributes' button. * Set the servlet-class input field to `SimpleServlet'. * Click on `Commit'. * I don't know whether it is necessary to click on `Reindex Children' after selecting the `servlets' resource, but I did that for "safety". * You may also want to save these settings by selecting the `control' resource under the `Root' resource and then clicking on the `Save' button. * Your servlet can now be reached at http://your-host:8001/servlets/Simple I hope all of this is correct. I'm writing this from memory. I'm sure someone will correct me if I am mistaken :-)
Received on Thursday, 28 May 1998 18:03:07 UTC