Hi,

I think You will need jhtml for this.

Please check at http://java.apache.org


If you want to use shtml You have to create a Java class (not servlet)
with a main() method and invoke it with <!--#exec cmd="..">
but this will be very ineficient.

Best wishes,
                  Andras.

----- Original Message -----
From: Pol Millan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 20, 1999 2:16 PM
Subject: Invoking servlets from shtml


> Hi guys,
>
> Anyone knows how I can invoke a servlet within a shtml page?
>
> For cgi it used to work the following:
> <!--#exec cgi="/cgi-bin/mycounter"-->
>
> But what about a servlet, because a code like this doesn't work
> <!--#exec
> cgi='http://www.aaa.com/servlet/JCounter?counterfile=gatebfi1.txt'-->
>
> Many thanks and merry christmas to everyone.
>
> Pol Millan.
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to