struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nils-Helge Garli Hegvik" <nil...@gmail.com>
Subject Re: Struts2 Portlet and Hibernate lazy-loading
Date Sun, 11 May 2008 05:55:46 GMT
Hi!

I don't see why it shouldn't be possible to create a similar
interceptor for Struts 2. It would certainly be the cleanest and best
way to do it.

Nils-H

On 5/10/08, Parker Grimes <pgrimes@gmail.com> wrote:
> Hi,
>
>  Since portlets cannot use servlet session filters like the Spring
>  OpenSessionInViewFilter, what is the recommended approach to the Hibernate
>  lazy-load issue with Struts2 portlets?
>
>  The Spring Portlet MVC framework has the OpenSessionInViewInterceptor in
>  conjunction with their HandlerMapping structure to solve this issue. Is
>  there something that can be done like this in the Struts2 portlet
>  interceptor stack?
>
>  Thanks,
>
> Parker
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message