What is the differences between Struts1 and Struts2?
S.no | Struts 1 | Struts 2 |
---|---|---|
1. | Form beans define properties, setters and getters | Getters and Setters are defined in action classes |
2. | Execute() method exposes servlet API for testing | Dependency Injection simplifies the testing process |
3. | Multiple tag libraries | The single library includes all tags |
4. | RequestProcessor class present | Interceptors present |
BY Best Interview Question ON 15 Jan 2019