W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1998

Re: Java Server Pages

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Thu, 10 Sep 1998 10:24:38 +0200
Message-Id: <199809100824.KAA16252@ender.inria.fr>
To: Bavo De Ridder <bavo@ace.ulyssis.student.kuleuven.ac.be>
cc: www-jigsaw@w3.org

 I think you can do that with a combination of the 
 SampleResourceIndexer[1], the RedirecterFrame[2] and your Servlet.

 1) create a SampleResourceIndexer called jsp-indexer for example
 2) Select your default indexer as the jsp-indexer super indexer.
 2) in the extensions node create a FileResource (called jsp) associated 
    to a RedirecterFrame.
 3) In the target filed of RedirecterFrame put your servlet URL.
 4) now jsp-indexer should be your default indexer, select the
    space node, and put jsp-indexer in the indexer field of this

 So, all requests on a jsp file will be redirected on your servlet. 
 And you can find from witch file the request come with the Referer 

 Is it what you want Jigsaw to do?

 [1] org.w3c.tools.resources.indexer.SampleResourceIndexer
 [2] /Doc/Reference/org.w3c.jigsaw.frames.RedirecterFrame.html

Bavo De Ridder writes:

> Hello,
> I recently downloaded the GNU Jsp. A freeware GNU implementation of the
> latest JSP draft specifications.
> How can I tell Jigsaw to call the JSPServlet when he encounters a file
> with the "jsp" extention? Different files will all point to the same
> servlet! The JSPServlet will then, using the initial request, forward the
> request to a compiled JSP class.
> Bavo De Ridder

- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium (W3C)
                    Architecture domain - Jigsaw Team           

  http://www.w3.org/People/Mahe - bmahe@w3.org - + 
Received on Thursday, 10 September 1998 04:24:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:33 UTC