




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Hj jkkkg kkjff kkkkgf. Kkjt. Lurd kkb
Typology: Essays (university)
1 / 8
This page cannot be seen from the preview
Don't miss anything!
In struts 2, action class is POJO (Plain Old Java Object). POJO means you are not forced to implement any interface or extend any class. Generally, execute method should be specified that represents the business logic. The simple action class may look like: Welcome.java
A convenient approach is to implement the com.opensymphony.xwork2.Action interface that defines 5 constants and one execute method.
Action interface provides 5 constants that can be returned form the action class. They are:
Learn from best: IIT Topper Dr. Balaji Sampath! Sign up today for special price ahaguru.com OPEN Replay
It is a convenient class that implements many interfaces such as Action, Validateable, ValidationAware, TextProvider, LocaleProvider and Serializable. So it is mostly used instead of Action.
Let's see the example of Action class that extends the ActionSupport class. Welcome.java
ahaguru.com OPEN
Placement Papers TCS HCL Infosys IBM Accenture AMCAT eLitmas Java Python C Programming Networking Bank PO/Clerk UPSSSC Government Exams SSC Civil Services SBI Please Share Join Javatpoint Test Series GATE NEET CAT Railway CTET IIT JEE Learn Latest Tutorials
Cash Loan in Hyderabad–Apply Online to get Instant Loan. Avail Quick Loan Upto ₹5 Lakh
Trending Technologies B.Tech / MCA