This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one 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