File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat server 3.2.3

 
felix thomas
Ranch Hand
Posts: 89
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 89
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 89
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic