View Single Post
  #3 (permalink)  
Old July 10th, 2005, 04:23 AM
urstruly90 urstruly90 is offline
Registered User
 
Join Date: Jul 2005
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Iam unable to run servlets using the tomcat 5.59 server. There is no problem with compilation. but when i try to access the servlet using the URL iam getting the error

HTTP Status 404 - /ch1/servlet/sampleServlet
type Status report
message /ch1/servlet/sampleServlet
description The requested resource (/ch1/servlet/sampleServlet) is not available.

i have put the source code of the servlet in the directory
C:\jakarta-tomcat-5.5.9\webapps\ch1
and after compilation i have put the class file in the directory C:\jakarta-tomcat-5.5.9\webapps\ch1\WEB-INF\classes

i have followed these steps according to the tomcat documentation


iam able to run the sample servlets in the servlets-examples directory, but when it comes to my own servlets iam having problems in running.


what might be the problem. il be thankful if some one can help me.......
coz iam frustrated......

Reply With Quote