struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mounir Benzid ...@meetingmasters.de>
Subject Re: Open session in view (JPA, struts2, Spring 3, Hibernate4)
Date Thu, 09 Aug 2012 07:20:30 GMT
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.lenart@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-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@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-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message