aspose file tools*
The moose likes Tomcat and the fly likes Getting /servlet/* to work in Tomcat without explicitly putting invoker Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Getting /servlet/* to work in Tomcat without explicitly putting invoker" Watch "Getting /servlet/* to work in Tomcat without explicitly putting invoker" New topic
Author

Getting /servlet/* to work in Tomcat without explicitly putting invoker

Chase Bonham
Ranch Hand

Joined: Jul 15, 2006
Posts: 50
Getting /servlet/* to work in Tomcat without explicitly putting invoker
in web.xml

I looked around on the web for the answer to this question. Other than the option of enumerating each and every servlet in the web.xml, I haven't seen
any solution.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61064
    
  66

What would be the difference between enabling the invoker or writing one yourself?

If you don't want to list each servelt in the deployment descriptor, you might want to explore the Front Controller pattern. This article may be helpful.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Getting /servlet/* to work in Tomcat without explicitly putting invoker