aspose file tools*
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

Win a copy of Spring in Action this week in the Spring forum!
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
jQuery in Action, 2nd edition
subject: Action Servlet