hi i have a list that holds other lists and inside of the other lists i have
objects but i have a little problem while reaching the lists inside of a
list. Here is my tag structure
Hi all , i want to log to a file by using logger interceptor but i couldn't
find any information about it from struts 2 guide. I can see some
information from console screen but i want them to be logged on a file is it
possible ?
--
View this message in context:
http://www.nabble.com/Struts-2-Lo
Of course it has a global result :) it returns "error" too but i think struts
2 working mech. makes this impossible to do after invocation.invoke() method
only the result of the action works... :) i think this is not a common
situation
Dave Newton-4 wrote:
>
> --- oguzha
yes that's where i get the exception :D but how can i implement a
PreResultListener. And also what i understand from the below writing is you
can not dispatch to another page after calling an invocation.invoke()
method. Am i wrong :) ?
Dave Newton-4 wrote:
>
> --- oguzhan tor
:
>
> --- oguzhan tortop <[EMAIL PROTECTED]> wrote:
>> but commit is in finally block. so it runs on every
>> condition even if you return any value before it.
>
> ...but a duplicate key exception would happen on the
> commit, because Hibernate queues up its work, r
but commit is in finally block. so it runs on every condition even if you
return any value before it.
Dave Newton-4 wrote:
>
> --- oguzhan tortop <[EMAIL PROTECTED]> wrote:
>> At first catch i am expecting to handle exceptions
>> that could be arise while
>> c
At first catch i am expecting to handle exceptions that could be arise while
creating the transaction and in the second try block i am commiting the
transaction it gives error at the last final block side while commiting.
Dave Newton-4 wrote:
>
> --- oguzhan tortop <[EMAIL PROTECTE
Yes , i can see it clearly from console as far as i guess when u call
invocation.invoke() ; only the result of action become target.
joey-30 wrote:
>
> Are you sure you catch the HibernateException?
>
>
> On 4/4/07, oguzhan tortop <[EMAIL PROTECTED]> wrote:
>>
hi all,
i am using struts2 with hibernate i have a basic form which inputs the given
data via hibernate. I get the hibernate session from my custom hibernate
interceptor and from that interceptor i call the action which creates the
hibernate transaction with data from its form and after that i ret
9 matches
Mail list logo