*
The moose likes Struts and the fly likes other than ActionServlet 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 » Frameworks » Struts
Bookmark "other than ActionServlet" Watch "other than ActionServlet" New topic
Author

other than ActionServlet

Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

Is there any other servlet we can use other than ActionServlet in the struts framework?

Thanks in advance

regards,
Rahul Roy
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Struts is based on the idea of a single controller servlet that then routes requests to classes that you've written. This means that ActionServlet is generally the only one you'll need in a Struts application.

The ActionServlet class is the only one provided by the Struts framework, but if you don't like something about the way it works, you always have the option of extending it with a subclass you've written yourself. However, most of the work in Struts is done by the RequestProcessor class, so it is more likely this class you'll end up extending.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: other than ActionServlet
 
Similar Threads
struts ActionServlet
Can i have more than one ActionServlet in my web application
struts question
instance of Servlet Action
Struts drawbacks