HTTP Session captures dynamic Session variables from Session initialisation to
Session invalidation or timeout
a Database Transaction captures database information from Start to (commit or
rollback)
Is there a reason why you would want your Session to be disconnected from the
Database Transaction?
Martin
______________________________________________
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und
Vertraulichkeitanmerkung/Note de déni et de confidentialité
Ez az
üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett. Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs. Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung.
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est
interdite. Ce message sert à l'information seulement et n'aura pas n'importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Thu, 9 Aug 2012 09:20:30 +0200
> From: m...@meetingmasters.de
> To: user@struts.apache.org
> Subject: Re: Open session in view (JPA, struts2, Spring 3, Hibernate4)
>
> Am 7/26/2012 4:39 PM, schrieb Maurizio Cucchiara:
> > Did you try to extend the url mapping to the whole root?
> >
> > f.e.: <url-pattern>/*</url-**pattern>
> >
> >
> > Twitter :http://www.twitter.com/m_cucchiara
> > G+ :https://plus.google.com/107903711540963855921
> > Linkedin :http://www.linkedin.com/in/mauriziocucchiara
> >
> > Maurizio Cucchiara
> >
> >
> > On 26 July 2012 15:36, Łukasz Lenart <lukasz.len...@googlemail.com> wrote:
> >
> >> Could you show the whole web.xml ?
> >>
> >>
> >> Regards
> >> --
> >> Łukasz
> >> mobile +48 606 323 122 http://www.lenart.org.pl/
> >> Warszawa JUG conference - Confitura http://confitura.pl/
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >> For additional commands, e-mail: user-h...@struts.apache.org
> >>
> >>
> >
>
> Łukasz, Maurizio
>
> sorry for the late response. web.xml ---> http://pastebin.com/XPiQ3ZJB
>
> I guess the problem might be that the transaction boundary starts and ends
> within the controller class I wrote to manage entities. The action itself
> doesn't participate in the transaction. If my understanding is correct then
> the OSIV pattern needs an active transaction. Should I let spring manage the
> action in order to propagate the transaction to it?
>
> Mounir
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>