A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
Unable to call Servlet
kwyap me
Greenhorn
Joined: Apr 02, 2005
Posts: 8
posted
Jul 11, 2006 11:41:00
0
Hi
I am using
Tomcat
5.0 and eclipse. Tried to call
servlets
using
http://localhost:8080/myApp/servlet/spectra.app.TrackServlet
but I received a resource not found message in IE. Previously I had no problems in Tomcat4.
I had done the following
1. Unmap web.xml in tomcat -- invoker
servlet
and mapping
2. Set classpath environment variable Java_HOME and TOMCAT_HOME
Pls kindly help
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
I like...
posted
Jul 11, 2006 16:24:00
0
I'm not sure what this means:
I had done the following
1.
Unmap web.xml in tomcat -- invoker servlet and mapping
Can you explain in more detail?
Java API
J2EE API
Servlet Spec
JSP Spec
How to ask a question...
Simple Servlet Examples
jsonf
Adeel Ansari
Ranch Hand
Joined: Aug 15, 2004
Posts: 2874
posted
Jul 11, 2006 21:35:00
0
Did you mean, you already disabled invoker servlet?
[ July 11, 2006: Message edited by: Adeel Ansari ]
Adeel Ansari
Ranch Hand
Joined: Aug 15, 2004
Posts: 2874
posted
Jul 11, 2006 21:37:00
0
Well, have you configured your servlet and servlet mapping in your web.xml. Something like,
<servlet> . . . </servlet> <servlet-mapping> . . . </servlet-mapping>
I agree. Here's the link:
http://aspose.com/file-tools
subject: Unable to call Servlet
Similar Threads
Problem compiling servlet [RESOLVED]
Tomcat 404 Error - Still not working
Help for a simple jSP program
Tomcat 4.0 problem
problem in running first servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter