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

ActionServlet and Action

francis varkey
Ranch Hand

Joined: Sep 13, 2005
Posts: 166
What is the relation between org.apache.struts.action.ActionServlet and org.apache.struts.action.Action?

Thanks

Francis
vijay mahendra
Ranch Hand

Joined: Jan 01, 2007
Posts: 51
Hi,
ActionServlet is Controller in Struts Frame work.
and Action class is for your Business Logic.
you can write your business logic in Action class according to your requirement.
ActionServlet is whole controller of struts Application .Applicatio will take care of this. you need not to write any actionServlet .

Rgrds,
Vijay
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: ActionServlet and Action