hint:theritacle dought in structs

hint:theritacle dought in structs

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.

org.apachi.struts.action.actionsevlet;

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.

http://www.roseindia.net/struts/


Thanks.









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
Advertisements
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
ModuleNotFoundError: No module named 'structs'
ModuleNotFoundError: No module named 'structs'  Hi, My Python... 'structs' How to remove the ModuleNotFoundError: No module named 'structs... to install padas library. You can install structs python with following command
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
ModuleNotFoundError: No module named 'py-structs'
ModuleNotFoundError: No module named 'py-structs'  Hi, My Python... 'py-structs' How to remove the ModuleNotFoundError: No module named 'py-structs' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'bethesda-structs'
ModuleNotFoundError: No module named 'bethesda-structs'  Hi, My... named 'bethesda-structs' How to remove the ModuleNotFoundError: No module named 'bethesda-structs' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'concurrent-structs'
ModuleNotFoundError: No module named 'concurrent-structs'  Hi, My... named 'concurrent-structs' How to remove the ModuleNotFoundError: No module named 'concurrent-structs' error? Thanks   Hi, In your
how to create modules i structs applications?
how to create modules i structs applications?  how to create modules i structs applications
applet dought
ModuleNotFoundError: No module named 'sgx-ias-structs'
ModuleNotFoundError: No module named 'sgx-ias-structs'  Hi, My... named 'sgx-ias-structs' How to remove the ModuleNotFoundError: No module named 'sgx-ias-structs' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'yaml_backed_structs'
ModuleNotFoundError: No module named 'yaml_backed_structs'  Hi, My... named 'yaml_backed_structs' How to remove the ModuleNotFoundError: No module named 'yaml_backed_structs' error? Thanks   Hi
structs - Struts
<html:text structs - Struts
Definitions
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
Java
: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
how can i use ajax and jquery in netbeans ide
want to migrate to structs
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
custom classes, structs or enum types Include JavaScript DataTable
Is Java a good language to learn?
open source frameworks such as Structs, Spring, Hibernate and many other apis
How long will it take to learn Spring boot
with the JSP, Servlets, Structs and Spring Web. Now trying to find new job, but in almost
Is Java a good language to learn?
open source frameworks such as Structs, Spring, Hibernate and many other apis
How long will it take to learn Spring boot
with the JSP, Servlets, Structs and Spring Web. Now trying to find new job, but in almost
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
CHashTutorials
, polymorphism, abstract classes, interfaces, structs, enumerations and exceptions
Beginners Stuts tutorial.
be. ( by the way, the correct term is 'struts' and not 'structs', as is mis

Ads