File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Need Experts Advice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Need Experts Advice" Watch "Need Experts Advice" New topic
Author

Need Experts Advice

Amit Goda
Ranch Hand

Joined: Jan 21, 2012
Posts: 37

Hello Everyone,

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.


Can anyone help me in this please?

Any advice will be highly appreciated.


AMiT
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need Experts Advice