File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

ActionServlet and Action

francis varkey
Ranch Hand

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


vijay mahendra
Ranch Hand

Joined: Jan 01, 2007
Posts: 51
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 .

I agree. Here's the link:
subject: ActionServlet and Action
It's not a secret anymore!