I am developing a Struts based application using Struts 2.3.4 and JPA (Hibernate4.1.5). I am new to Struts as well as to Hibernate. I have previously worked on eclipseLink so i have knowledge about the flow of application using eclipseLink (such as Data controller, Process controller, MVC Pattern).
So my question is...
Can i develop the same flow in Struts using Interceptors ?
The flow i have thought about the application is
1.) the user request will be intercepted by an interceptor and it will check what has to be done (such as sending some other parameters to action class)
2.) the corresponding action class will be invoked
3.) Action completion will be followed by another interceptor and it will decide how and what data will be displayed to the user.