Hello Divya,
I suggest you start with
1)The book "Professional JSP" from wrox and
2)JavaWebServer 2.0 as your webserver.
TO START THE WEBSERVER :
Get into the bin directory under JavaWebserver2.0 and type the
command "httpd" like this..
c:\JavaWebserver2.0\bin>httpd
This should start the webserver where the webservices listen at
port 8080 and the administration at port 9090.
To work on servlets and jsp's place these files in either
JavaWebserver2.0/public_html folder (or) in
JavaWebserver2.0/examples/jsp(or)servlet folder.
If you are putting your files in the public_html directory
then to execute it, type the following URL in the address bar
of IE/NETSCAPE..
http://localhost:8080/servlet/MyServlet (or)
if it is a JSP..
http://localhost:8080/MyJSP If you are putting your files in the examples/servlets (or) jsp directory
then to execute it, type the following URL in the address bar
of IE/NETSCAPE..
http://localhost:8080/examples/servlets/MyServlet (or)
if it is a JSP..
http://localhost:8080/examples/jsp/MyJSP. To compile servlet
java files set your classpath to
c:\javawebserver2.0\lib\servlet.jar.You will find other jars
also conventionally placed under the lib directory.
Hope this helps,
Manjunath