Brett,
Here is a simple snippet of code for a server-side-include in an html page:
<! Server Side Include> <servlet name=SSICounter> </servlet>
</FORM>
</BODY>
</HTML>
doGet & doPost depends on what data you are sending and how you want it
formated. For example sending a large amount of data, you want to use
doPost. You also need so use doPost if you are using SSL. doGet works a
better (faster) if sending small amounts of data. Don't know the spec's off
the top of my head. Bottom line is you can use doGet or doPost with SSI
Tom Kochanowicz
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Kaylor, Brett
Sent: Monday, January 24, 2000 10:43 AM
To: [EMAIL PROTECTED]
Subject: how do you use <servlet> html tag?
I am working with jswdk-1.0.1. I can use/modify the examples for without
problems. But I cannot create an html page with the <servlet> tag and get
it to work. Can anyone show me a simple working example? Also, which
method does the <servlet> tag execute (i.e. doGet)?
Thanks,
Brett
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Brett B. Kaylor
Software Engineer
GENERAL DYNAMICS
Electronic Systems
1805 West Drake Drive
Tempe, AZ 85283
Tel: 480.777.1725
Fax: 480.777.1717
Email: [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
___________________________________________________________________________
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