This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi , I am new to servlets and I am trying to run my first servlet using standalone Toncat Server, but I am getting some errors.
I followed these steps
1 Downloaded tomcat_5.5.9.zip and '5.5.9 Compat.jar' from Apache site. 2 Unpacked them in a local directory(D:\Tomcat) . While unpacking '5.5.9 Compat.jar' I replaced some of the jar that were in original folder. 3 I pointed JAVA_HOME to jdk1.4.2_06. This I did using environment variables. 4 Changed the port in D:\Tomcat\jakarta-tomcat-5.5.9\conf\server.xml to 80 5 Modified D:\Tomcat\jakarta-tomcat-5.5.9\conf\web.xml Uncommented the Servlet-Name and Servlet-Invoker 6 Complided a small java class (HelloWorld.java) and put the class file into D:\Tomcat\jakarta-tomcat-5.5.9\webapps\ROOT\WEB-INF\classes