Hi Bruno!
I have been looking into the same issue, and I haven't found any good,
concise guidelines regarding this.
Here are the options I have found, and please feel free to correct me if I am
wrong:
1. You can override the service() method with your own method, although this is
not recommended(no reason given).
2. If you simply want your servlet to generate html, I believe calling the
servlet like any other general http request for an html page
(http://my.server.com:port/dir/dir/servletname) will end up in the doPost
method. Then you can override this method to perform whatever it is that you
are doing, or have the doPost call doGet or some other private method.
Hope this helps, if anyone has any additional info, please pass it on!
Have a great day!
MJ
Bruno Patricio <[EMAIL PROTECTED]> on 03/24/2000 10:30:06 AM
Please respond to "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Mary Jo Serrino/HQ/PG/CNG)
Subject: Doubt!
Hi to all,
I would like to know if there is a way to call a servlet without the need
of performing an action (get or post). If anyone could help me, it would be
great!
Thanks in advance,
Bruno Patricio
Portugal
Bruno Patricio
Eng
� Inform�tica e Sistemas
___________________________________________________________________________
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