aspose file tools*
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 Soft Skills this week in the Jobs Discussion 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: 671
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: 61756
    
  67

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Forced to use of invoker servlet.