W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1998

Re: Embedded Servlets!

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Wed, 18 Feb 1998 08:50:57 +0100
Message-Id: <199802180750.IAA21993@www43.inria.fr>
To: Mike Moran <mikem@clearcut.co.uk>
cc: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>, Wolfgang Platzer <wplatzer@iaik.tu-graz.ac.at>, Jigsaw Mailinglist <www-jigsaw@w3.org>, Benoit.Mahe@sophia.inria.fr
> This is a multi-part message in MIME format.
> --------------B6EA81C88A331F87E7F555C2
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> Benoit Mahe wrote:
> > 
> > > How do Servlets in an html page (like Applets) work with Jigsaw?
> [...]
> > 
> >  There is a SSI command "servlet" which allows you to call servlet
> >  from an HTML page:
> > 
> >  The following example show you how to call SnoopServlet with some
> >  parameters.
> > 
> >  <!--#servlet name="Snoop" param="param1" value="foo" -->
> >  <!--#servlet name="Snoop" param="param2" value="bar" -->
> >  <!--#servlet name="Snoop" code="Servlets/class/SnoopServlet" -->
> > 
> >  This must be in a .shtml file (indexed as a SSIResource).

 Sorry, this COULD be in a .shtml file.

> > 
> 	Is this .shtml restriction fixed? If so, I would find it very
> 	annoying since if, during the lifetime of a site (which may be on the
> 	order of months between major rebuilds), some pages need to now
> 	contain ssi and are named .html, then all links to them have to be
> 	updated. I am aware of the performance and security implications of
> 	enabling ssi "willy-nilly" but the choice to do so should be up to the
> 	author/publisher/hoster.
> 
> 	Mike

 You can give the extension you want to your file. The default indexer
 in Jigsaw index the .shtml file as SSIResource but you can index some .html
 file as SSIResource (or whatever you want). 
 
 Benoît.

 

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

  http://www.w3.org/People/Mahe - bmahe@w3.org - +33.4.92.38.79.89 
---------------------------------------------------------------------
Received on Wednesday, 18 February 1998 02:51:23 GMT

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