File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Action Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Action Servlet" Watch "Action Servlet" New topic

Action Servlet

Pinki Choudhury

Joined: Mar 16, 2007
Posts: 1
Can i have more than one action servlet class file in my application.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
No. Struts is based on a design of a single servlet handling all requests. You can certainly write your own class that extends ActionServlet, but in that case your class will be handling all Struts requests rather than ActionServlet.
[ March 16, 2007: Message edited by: Merrill Higginson ]

Consultant, Sima Solutions
I agree. Here's the link:
subject: Action Servlet
It's not a secret anymore!