- From: Tarang Kumar Patel <mombasa@ptolemy.arc.nasa.gov>
- Date: Tue, 21 Jul 1998 12:40:01 -0400 (EDT)
- To: Benoit.Mahe@sophia.inria.fr
- CC: www-jigsaw@w3.org, Benoit.Mahe@sophia.inria.fr
>>>>> On Tue, 21 Jul 1998 09:20:56 +0200, Benoit Mahe <Benoit.Mahe@sophia.inria.fr> said: Benoit> Tarang Kumar Patel writes: >> Hi, >> >> I wish to make use of Indexer, say "servlet-indexer" by which to index >> reference my installed servlet directory WWW/Servlets. >> >> I followed the "Indexer configuration" notes, but was unable to get the >> effect I wanted. In my configuration of "servlet-indexer" I configured >> "Servlets and servlets" directory names under "directories". I gave >> these directories : "...ServletDirectoryFrame". I created an extension: >> "class" with a : "...ServletWrapperFrame". Then when I created my >> "servlets" directoryResource, I index it with the newly created >> "servlet-indexer". Benoit> "Servlets and servlets" should be a Benoit> DirectoryResource+ServletDirectoryFrame in the directories node of Benoit> your indexer. "class" should be a Benoit> "ServletWrapper+ServletWrapperFrame" in the extensions node of Benoit> your indexer. This should works. Having correctly set my "servlet-indexer" and referenced it as the Indexer to use for my "Servlets" DirectoryResource, I now get the following error message org.w3c.jigsaw.servlet.ServletWrapper@/Servlets/SnoopServlet.class: unable to initialize servlet, exception: null org.w3c.jigsaw.servlet.ServletWrapper@/Servlets/SessionServlet.class: unable to initialize servlet, exception: null I have the following class files in my "Servlets" directory SnoopServlet.class SessionServlet.class Of course the servlets work when I individually configure them, i.e not set up an indexer to auto index files by extension .class. However, the whole point of wanting a servlet indexer is to reduce the man managed configuration for each servlet file. Thus enable users to copy their servlet class files into the defined location, i.e in my case "Servlets" directory, without admin intervention. Tell me this is correct assumption for use of an indexer. Tarang
Received on Tuesday, 21 July 1998 13:30:20 UTC