W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1997

Servlet/SSI question

From: Anselm Baird_Smith <abaird@www43.inria.fr>
Date: Wed, 4 Jun 1997 08:40:09 +0200 (MET DST)
Message-Id: <199706040640.IAA05229@www43.inria.fr>
To: Jeff Dripps <jeff@macalot.com>
Cc: www-jigsaw@w3.org
Jeff Dripps writes:
 > Hello,
 > 
 > I am pretty new to servlets and am trying to exectute servlet code from
 > within an .shtml file. Can someone please give me some advice (i.e., and
 > example) of how this can be accomplished? TIA sinc, -jeff

You can just use std server side include command (haven't heckd it but
it should wortk):

/servlet/myservlet mapped to your servlet
Than in .shtml:

<!--#exec="/server/myservlet">

should work (let me know if it doesn't). BTW the <servlet> tag doesn't
work.

Anselm.
Received on Wednesday, 4 June 1997 02:40:33 GMT

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