nested iteration using struts2 iteration tag

2007-04-27 Thread oguzhan tortop
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

Struts 2 Logging

2007-04-05 Thread oguzhan tortop
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

Re: Struts 2 exception problem

2007-04-04 Thread oguzhan tortop
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

Re: Struts 2 exception problem

2007-04-04 Thread oguzhan tortop
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

Re: Struts 2 exception problem

2007-04-04 Thread oguzhan tortop
: > > --- 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

Re: Struts 2 exception problem

2007-04-04 Thread oguzhan tortop
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

Re: Struts 2 exception problem

2007-04-04 Thread oguzhan tortop
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

Re: Struts 2 exception problem

2007-04-04 Thread oguzhan tortop
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: >>

Struts 2 exception problem

2007-04-04 Thread oguzhan tortop
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