hi, i have configured and istalled jakarta-tomcat 3.2.3. it is working fine. but when i run the samples servlets by clicking on the links given some servlets run some do not. for example helloworldexample shows an error doget method not found. but the cookie example runs fine.
can anyone explain me why and where to keep the servlet clas i have complied and how to run them
To learn the rules for where servlet classes go, study the examples and documentation provided with Tomcat. Especially study the web.xml file in the webapps\examples\WEB-INF directory. For the definitive API on organizing web applications download the Servlet 2.2 API from java.sun.com Bill
hi, mr brogden if tmcat has given some samples to test and some work and some do not then they must have told it the document itself. how can a new user like me understand what the problem ca be .
Author and all-around good cowpoke
Joined: Mar 22, 2000
Almost every time I have installed a Tomcat version, the examples have all worked if I followed the documentation. The one time I had trouble, it was due to a left-over JAR file from an early version of Java Servlet Development Kit. Which operating system are you running on? Which SDK do you have on your system? Have you ever installed a previous version of Tomcat or the Java Servlet Development Kit from Sun?
Joined: Jun 10, 2001
hi, mr brogden i have installed jdk 1.3 in my machine, and have installed tomcat for the first time. i have also installed java servlet development kit 2.0 and my operating system is windows 98