Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
Author

Action Servlet

Pinki Choudhury
Greenhorn

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 ]

Merrill
Consultant, Sima Solutions
 
 
subject: Action Servlet