Loading...

user@struts.apache.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: Hibernate, HTTP Session, and LazyInitializationException Nils-Helge Garli Hegvik Thu Feb 26 00:00:22 2009

This has nothing to do with the original posting. Please post your
question creating a new thread/email.

Nils-H

On Thu, Feb 26, 2009 at 8:12 AM, suhas kokal <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> If some body knows hot to use javascript alerts with struts 2.0 (when 
> validation framework fires)please find me the way.
>
> Thanks a lot in advance.
>
> Suhas.
>
>
> --- On Wed, 25/2/09, Paul Benedict <[EMAIL PROTECTED]> wrote:
>
>> From: Paul Benedict <[EMAIL PROTECTED]>
>> Subject: Hibernate, HTTP Session, and LazyInitializationException
>> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>> Date: Wednesday, 25 February, 2009, 11:15 AM
>> Does anyone have a good solution for objects stored in an
>> HTTP Session
>> that should be reattached per request? For example, like
>> the
>> authenticated "user" object stored in the HTTP
>> Session.
>>
>> I had a servlet filter written that attached the entity per
>> request,
>> but a double-click from the user showed the futility of
>> that approach.
>> You can't have one entity attached to two sessions :-)
>>
>> And, I don't think it's a GOOD idea for struts code
>> to know anything
>> about Hibernate. So I want to do be able to the
>> reattachment
>> transparently to UI/Web code.
>>
>> Paul
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail:
>> [EMAIL PROTECTED]
>
>
>      Add more friends to your messenger and enjoy! Go to 
> http://messenger.yahoo.com/invite/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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