Forums Register Login

Cant find servlet

+Pie Number of slices to send: Send
Hi!
My question is kinda dumb.
I'm used to map my servlet and it works pretty fine
but if I only use applicationFolder/servlet/SampleServlet it does'nt work.
I'm pretty sure that the Servlet Container can find the servlet if its under
WEB-INF/classes without having to put it in the classpath because the
it automatically searches the WEB-INF/classes folder.
Any ideas why its not working?
Anyway I'm using Tomcat and the classes are not in a package.
Thanks.
+Pie Number of slices to send: Send
You need to have the invoker servlet running. By default, Tomcat ships with the invoker servlet disabled. Go look in your web.xml and make sure the following lines are in there:

Joe
+Pie Number of slices to send: Send
Wow it worked!
Thanks a lot dude!
It's hard to fight evil. The little things, like a nice sandwich, really helps. Right tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 809 times.
Similar Threads
Using Sun App Server instead of Orion
404 errors in servlets
servlet in both WEB-INF/lib and WEB-INF/classes
Servlet not available?
JSP cannot call Servlet
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 23:23:00.