Re: Compling & Running Servlets Posted: 28 Oct 2007
Lakshmana, I recommend forgetting J2EE SDK and Sun Java Web Server. Instead, get hold of JDK 1.6 (or simply JDK 6 as it is known on Sun's download page) and Tomcat 6.0.14. Then read this tutorial from the beginning. Install Tomcat 6.0.14. Correctly set the environment variables (the steps to do that have been explained in detail in this and preceding tutorials). And create your first JSP page and Java Servlet using the step-by-step techniques described in this and other tutorials on this website.