Hi Srini,
1. If u are writing a generic servlet(i.e extending from GenereicServlet
class) which u might call a protocol independent servlet, u override the
service() method. But if u are writing a http servlet(i.e extending from
HttpServlet class), u override doGet() or/and doPost() methods. It is
generally not recommended to override service() method for http servlets.
For http servlets service() method is used to initialize the servlet
environment, but all get & post requests are handled by doGet() & doPost()
methods respectively.

2. On WinNT4.0 workstation there should not be any problems configuring the
servlet environment. You can install Java Web Server(JWS) on ur NT m/c. It
has servlet support apart from Java run time. Or u can install Java Servlet
Development Kit(JSDK) also to test the servlets. But with JSDK u will need
to install JDK also externally. Both these are freely available from
www.javasoft.com site.
Configuration is also possible on Solaris. For Solaris u can search for
congiguration help at javasoft.com

-mukul


At 08:00 PM 7/12/99 +0530, Srinivasan S (Systems Engineering Group) wrote:
>Hello people,
>
>        I have a basic doubt in servlets what is the difference
>        between an service method and doPost and doGet methods
>        could u please explain me in detail abt this with an
>        example please i referred lot of examples but none
>        was forthcoming please help me to understand..
>
>        I have a windowNT4.0 workstation how do i make as a
>        servlet server so that people access them.  If this is
>        not  possible in NT leme know how to do it in a solaris
>        machine so that i can configure my solaris server
>
>Thanks
>Srini

___________________________________________________________________________
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