wood burning stoves 2.0*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
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: 12761
    
    5
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is invoker servlet in Tomcat Container? How can we disable it
 
Similar Threads
Tomcat 4.0 problem
problem in running first servlet
deployement of a simple servlet
Unable to call Servlet
Tomcat 404 Error - Still not working