Hi ...
for running a servlet you first need to compile your servlet's .java file and for that you need
J2SDKEE 1.3.1 'cause this J2SDKEE 1.3.1 has the jars like servlet.jar which helps in compiling your .java files and making .class files.. you need to install the J2SDKEE 1.3.1 and putt it into the class path..
now, once you are ready with the .class file of your servlet you need a web server like Tomcat, resin, weblogic etc... you can choose one among these and install into your machine...
now you need to put this class file into the class hierarchy..
let me give you an example... if you are using tomcat then you will have to make an application in your tomcat (if you already have one then ignore this)
1. You need to make a directory(suppose hello) in webapps folder by any name you want
2. make sorrocponding entry into server.xml which is in conf directory like below
3. now u need to create following directory structure in your "hello" directory
hello
|
|-(All
JSP and HTML files here on in any subfolder you need)
|
|-WEB-INF
|
|-classes (all your servlet class files here)
|-web.xml (here all enteries of your servlet will go)
4. now you can run your tomcat and in browser you can type
http://<machine_name>:<port_no>/hello/<servlet_name> hope things are clear to you now.. if still in doubt please revert back
Thnks
Amit