What is the differences between struts1 and struts2?
Answer / Amit Gupta
Struts 1 uses XML configuration files (struts-config.xml) for defining actions, while Struts 2 uses annotations (@Action, @ActionMapping, etc.). Struts 2 provides better integration with other frameworks like Spring, Hibernate, and OGNL. Struts 2 has a cleaner architecture due to the use of action interceptor chains, which makes it more modular.
| Is This Answer Correct ? | 0 Yes | 0 No |
How can we handle exceptions thrown by application in Struts2?
diffrence between dispatch action and lookupdispatch action write simple web appliction (insert records in database)
8 Answers Athena Health Care, Symphony, TCS,
What is the use of token interceptor in Struts2?
What are the cons of struts 2?
What are the two different types of validations that the validator framework supports?
what is use of assert keyword in java..?
What does modeldriven interceptor?
What does execandwait interceptor?
What are the struts2 error message keys that can come during file uploading process?
What does validation interceptor?
What is struts and springs in java?
How many servlet controllers are used in a Struts Application?