hint:theritacle dought in structs 1 Answer(s) 6 years ago
Posted in : Struts
November 13, 2008 at 4:25 AM
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.
hint:theritacle dought in structs - Struts
hint:theritacledought 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 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 - 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 jar files Structs jar files please Post required jar files for structs.
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
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,
: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
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 - 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
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