2008/6/17 Márcio Gurgel <[EMAIL PROTECTED]>:
> Does anyone knows how to implement a session-per-request in Struts 2?

If you mean a Hibernate session, you have to implement the "Open
Session In View" pattern, for example using a filter.
http://www.hibernate.org/43.html

If you are using Spring, there is an already implemented
OpenSessionInView filter:
http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/orm/hibernate3/support/OpenSessionInViewFilter.html

Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to