W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1998

Re: SSI servlet

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Mon, 06 Jul 1998 12:53:00 +0200
Message-Id: <199807061053.MAA22183@www43.inria.fr>
To: lsomchai@e7sun-1.kais.kyoto-u.ac.jp (Somchai LIMSIRORATANA)
cc: www-jigsaw@w3.org
Somchai LIMSIRORATANA writes:

> Dear sir,
> 	Does anyone know the way to put a result of a servlet into a homep
> age?
> 	I mean, I want to insert a result of my servlet into some part of 
> my homepa
> ge. I known that the SSI(<!--#include virtual=....-->) can include a rea
> l ht
> ml file into another but it cannot include with the CGI result. I think,
>  ser
> vlet is the same.
> 	I ever use JavaWebServer of sun. it can insert a tag <servlet> int
> o shtml f
> ile and the result will include into the homepage. Can Jigsaw do this?

 Yes, but with a different syntax:

 <!--#servlet name="Snoop" param="p1" value="v1" -->
 <!--#servlet name="Snoop" param="p2" value="v2" -->
 <!--#servlet name="Snoop" code="/servlet/snoop" -->

 This example perform a call of the servlet called snoop (name of the 
 Jigsaw servletWrapper relative to the SnoopServlet) with two 
 parameters p1=v1 & p2=v2.


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

  http://www.w3.org/People/Mahe - bmahe@w3.org - + 
Received on Monday, 6 July 1998 06:52:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:24 UTC