This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


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: 61315
    
  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]
 
GeeCON Prague 2014
 
subject: Forced to use of invoker servlet.