jQuery in Action, 2nd edition*
The moose likes Servlets and the fly likes tomcat server  3.2.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "tomcat server  3.2.3 " Watch "tomcat server  3.2.3 " New topic
Author

tomcat server 3.2.3

felix thomas
Ranch Hand

Joined: Jun 10, 2001
Posts: 89
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
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
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
felix thomas
Ranch Hand

Joined: Jun 10, 2001
Posts: 89
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 .
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
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?
felix thomas
Ranch Hand

Joined: Jun 10, 2001
Posts: 89
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
 
Don't get me started about those stupid light bulbs.
 
subject: tomcat server 3.2.3
 
Similar Threads
Servlet Deployment?
What's wrong with me?
Problem with some JSPs moving to tomcat 4.1.12
background process on tomcat 4
JSP can't find bean classes