Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
What is Action Class
What is Action Class?
✍: Guest
The Action Class is part of the Model and is a wrapper around the business logic. The purpose of Action Class is to translate the HttpServletRequest to the business logic. To use the Action, we need to Subclass and overwrite the execute() method. In the Action Class all the database/business processing are done. It is advisable to perform all the database related stuffs in the Action Class. The ActionServlet (commad) passes the parameterized class to Action Form using the execute() method. The return type of the execute method is ActionForward which is used by the Struts Framework to forward the request to the file as per the value of the returned ActionForward object.
2007-12-17, 5053👍, 0💬
Popular Posts:
What are urlencode() and urldecode() functions in PHP? string urlencode(str) - Returns the URL encod...
.NET INTERVIEW QUESTIONS - How can you avoid deadlock in threading? A good and careful planning can ...
If we inherit a class do the private variables also get inherited ? Yes, the variables are inherited...
What Is URI? URI (Uniform Resource Identifier) is a superset of URL. URI provides a simple and exten...
How To List All Values of Submitted Fields? - PHP Script Tips - Processing Web Forms If you want lis...