The moose likes Tomcat and the fly likes What is invoker servlet in Tomcat Container? How can we disable it Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "What is invoker servlet in Tomcat Container? How can we disable it" Watch "What is invoker servlet in Tomcat Container? How can we disable it" New topic
Author

What is invoker servlet in Tomcat Container? How can we disable it

Sarath Mohan
Ranch Hand

Joined: Mar 17, 2001
Posts: 213
I am new to Tomcat JSP/servlet container. I just created a simple Servlet and deployed and invoked
http://localhost:8080/myapp/servlet/HelloServet
Tomcat says resource not Found!. Why does it say like this?
I heard one invoker servlet handles all request which is having /servlet/
I don't want this feature, what should I do?

Regards


Sarath Mohan
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11863
Like all servlets, the invoker is configured in a web.xml file. Look in the TOMCAT_HOME/conf/web.xml file - the default for all applications.
Turning off the invoker and configuring your application's web.xml according to the servlet API is highly recommended.
Bill


Java Resources at www.wbrogden.com
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Well for one, the invoker is *off* by default in Tomcat versions 4.1.12 and above.

Which is *why* it said "resource not found".

More info: InvokerServlet FAQ
 
 
subject: What is invoker servlet in Tomcat Container? How can we disable it
 
Threads others viewed
deployement of a simple servlet
Unable to call Servlet
Tomcat 4.0 problem
problem in running first servlet
Tomcat 404 Error - Still not working
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture