This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android 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: 60782
    
  65

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.
 
Similar Threads
invoker-mbean missing
Inline servlet content generation in JSP
JavaBean problem
kindly help me in redirecting....... as soon as possible
Invoke Servlet Without changing web.xml