hint:theritacle dought in structs



Share on Google+Share on Google+

hint:theritacle dought in structs
1 Answer(s)      8 years ago
Posted in : Struts
View Answers

November 13, 2008 at 4:25 AM

Hi friend,

Similarity is they both are Java classes.

But ActionServlet is nothing but a Servlet and it definitely acts as a Controller in the MVC pattern as described.

Whereas the Action class is the actual class which is acting upon the data (Model) for implementing your business logic. Using which you carry out all your business flow.

The ActionServlet is responsbile for looking up the struts-config.xml file to identify the particular action class and instantiate it if necessary, and send the actual request,response objects along with the ActionMapping,ActionForm objects to the execute() method of the invoked Action class.

Once the execute() method is done with its flow, it actually returns the ActionForward object back to the ActionServlet (which actually invoked the execute() method). The ActionServlet unwraps the ActionForward object and finds out the "key" to forward the request to the next level.

action servlet is responsible to identify the request and receive the request.this is initial starting point to the communication and justify the purpose of the communication across the diff environments.


action classes is define to be the user.it is controller where we provide the user defined controller logical transactions which allways listen to actionservlet.

Action Servlet is backbone of struts Framework.It is the main ControllerComponent Action class contain userlogic. It return the next View to the Framework.


Visit for more information.




Related Tutorials/Questions & Answers:
hint:theritacle dought in structs - Struts
hint:theritacle dought in structs  can you please tell me the diffrence between action servlet and action class?  Hi friend, Similarity is they both are Java classes. But ActionServlet is nothing but a Servlet
structs - Struts
structs  I am using structs dyanmic tags for the frontend development for my application.in that i have to display a result table based on the search criteria .I am using   Hi friend, Plz give full details
structs doubts
structs doubts   i tried the fileupload program which is published in roseindia i am getting fileupload page after that when select any file to upload then i click upload i am getting following error
Structs jar files
Structs jar files  please Post required jar files for structs. Thanks, L.Mahesh Kumar
develop structs application - Struts
develop structs application  hi i am new to structs,how to develop structs application in netbeans ide i need step by step process plz answer me  Hi friend, For more information,Examples and Tutorials on Struts
how to create modules i structs applications?
how to create modules i structs applications?  how to create modules i structs applications
Definitions  give me the definition for this Hibernate,spring,structs,servlets,ejb.jms.
diff bw sructs,hipernet,spring - Framework
diff bw sructs,hipernet,spring  what is the difference between structs,hipernet,spring which applications suitabe for structs,hipernet,spring  Hi friend, http://www.roseindia.net/spring/ http://www.roseindia.net
:deprecation for details. I have the following dought also I am writing the fields which... for to see the output.so my dought is 1)is it possible to put the total html
Dispatch Action - Struts
Dispatch Action  While I am working with Structs Dispatch Action . I am getting the following error. Request does not contain handler parameter named 'function'. This may be caused by whitespace in the label text
core java - Java Beginners
core java  how to create a login page using only corejava(not servlets,jsp,hibernate,springs,structs)and that created loginpage contains database(ms-access) the database contains data what ever u r enter and automatically date
java - Struts
java  hi sir, i need Structs Architecture and flow of the Application.  Hi friend, Struts is an open source framework used for developing J2EE web applications using Model View Controller (MVC) design
J2EE - Java Beginners
J2EE  Dear Sir, Right now i am working as a java programmer and i have to learn for J2EE. Which book is good for learning JSP, SERVLETS,EJB,HIBERNATE,SPRINGS,STRUCTS,XML and JSF. and which area i have to concentrate
Java Compilation Error - Java Beginners
Java Compilation Error  hi, i'm chandrakanth.i got a dought regarding below program. It generates compilation error.but it executes and generates the out put. i can't understand the reason. please suggest me
jsf command link - Java Server Faces Questions
Thanks   ok now it is workingbut i have one more dought i.e.,iam using
how to use yield(),join() methods in program.where it is usefull in my program
of yield(). Please any one clear my dought. here my code is : public class
how to use yield(),join() methods in program.where it is usefull in my program
of yield(). Please any one clear my dought. here my code is : public class
Ajax.NET Professional
, structs or enum types Include JavaScript DataTable, DataSet, support
jsf navigation rule - Java Server Faces Questions
to write navigation for result page. And one more dought is it possible to write
implementing DAO - Struts
know only few concept of Structs(very basic, and not worth to mention ), how
, polymorphism, abstract classes, interfaces, structs, enumerations and exceptions
Beginners Stuts tutorial.
term is 'struts' and not 'structs', as is mis-spelt often