This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
i have installed jswdk-1.0.1.. i want to call a servlet through a html page.. my question is where to store the html page.... to get desired output... incase of pws we store im wwwroot of inetpub...but in case of JSWDK-1.0.1 ..WHERE DO WE STORE HTML PAGE
As I recall, that is covered in the documentation that the JSWDK installs. Why are you working with jswdk 1.0.1? Sun turned over development of the reference implementation of servlets and JSP to the Apache organization. jakarta.apache.org This project, known as Tomcat, is easy to install and supports the latest APIs. Bill
raj, first, Tomcat is NOT easy to install, only advanced users familiar with Servlet configuration files and .XML should attempt it. second, jswdk is not the environment in which you want to learn how to run a Servlet engine. download JRun from Allaire, the demo version is full featured up to 5 users, so it works great for testing. third, once JRun is installed just stick your servlets under the "servlets" subdirectory under JRun fourth, code your HTML pages to point to the JRun servlets subdir like this: "http://mycomputer:8080/servlet/SomeServlet" fifth, be aware that the subdir under JRun will be "servlets" but your HTML code <href> and <form action= > tags will point to "servlet"... hope this helps... --hive_slave.