This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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
jQuery in Action, 3rd edition