Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Tomcat and the fly likes Forced to use of invoker servlet. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Forced to use of invoker servlet." Watch "Forced to use of invoker servlet." New topic
Author

Forced to use of invoker servlet.

Bruce Jin
Ranch Hand

Joined: Sep 20, 2001
Posts: 666
I have several hundreds servlets. If I don�t use Invoker then I have to add servlet tag for every servlet to web.xml file.

Is there a better way to do this?

Thanks.


BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design

Crazy Bikes created by m-Power
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61106
    
  66

Either add a servlet tag for every servlet to web.xml file, or adopt the use of a Front Controller (which does not use the classpath of the servlet to identify it -- you're back to the invoker in that case).


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
jQuery in Action, 2nd edition
 
subject: Forced to use of invoker servlet.