Re: Struts 2 exception problem

2008-04-04 Thread Jim Krygowski
Hi Oguzhan- We've run into the *exact* same problem. Our interceptor is returning "error" but that return value is not respected when the result is rendered. It makes me wonder what the value of returning the invocation result is in the first place... Just stepping through the code and bro

Re: Struts 2 exception problem

2008-04-04 Thread jimski
>> Need Mail bonding? >> Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. >> http://answers.yahoo.com/dir/?link=list&sid=396546091 >> >> ------------- >> T

Re: Struts 2 exception problem

2007-04-04 Thread oguzhan tortop
great tips from Yahoo! Answers users. > http://answers.yahoo.com/dir/?link=list&sid=396546091 > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nab

Re: Struts 2 exception problem

2007-04-04 Thread Dave Newton
--- oguzhan tortop <[EMAIL PROTECTED]> wrote: > ... but how can i implement a PreResultListener. I don't think it'll help anyway; sorry. (Boy, I wish I had my regular machine right now :/ How is an Action.ERROR normally handled with the stack you have defined? Is there a global result? d.

Re: Struts 2 exception problem

2007-04-04 Thread oguzhan tortop
___ > Get your own web address. > Have a HUGE year through Yahoo! Small Business. > http://smallbusiness.yahoo.com/domains/?p=BESTDEAL > > ------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-

Re: Struts 2 exception problem

2007-04-04 Thread Dave Newton
--- oguzhan tortop <[EMAIL PROTECTED]> wrote: > But if i get a commit error for example a duplivate > key it passes to the > catch statement in the final block and then it > returns Action.ERROR . And > also it returns error as a param i debugged the code > by attaching source but > the problem is

Re: Struts 2 exception problem

2007-04-04 Thread oguzhan tortop
- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts-2-exception-problem-tf3525255.html#a9841683 Sent from the Struts - User mailing list archive at

Re: Struts 2 exception problem

2007-04-04 Thread Dave Newton
--- 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, right? Unless you're running a commit in th

Re: Struts 2 exception problem

2007-04-04 Thread oguzhan tortop
A for great tips from Yahoo! Answers users. > http://answers.yahoo.com/dir/?link=list&sid=396546091 > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://w

Re: Struts 2 exception problem

2007-04-04 Thread Dave Newton
--- oguzhan tortop <[EMAIL PROTECTED]> wrote: > 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. ...but if the exce

Re: Struts 2 exception problem

2007-04-04 Thread oguzhan tortop
; d. > > > > > > Don't get soaked. Take a quick peek at the forecast > with the Yahoo! Search weather shortcut. > http://tools.search.yahoo.com/shortcuts/#loc_weather > > --

Re: Struts 2 exception problem

2007-04-04 Thread Dave Newton
--- oguzhan tortop <[EMAIL PROTECTED]> wrote: > 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. Which HibernateException, the first one or the second one? > >> result = invocation.invoke(); > >> [...] > >>

Re: Struts 2 exception problem

2007-04-04 Thread oguzhan tortop
return Action.ERROR; >>} >>} >>} >> >> -Action >> Class-- >> public class CreateServiceAc

Re: Struts 2 exception problem

2007-04-04 Thread joey
ESS; } public Service getService() { return service; } } ***** -- View this message in context: http://www.nabble.com/Struts-2-exception-problem-tf3525255.html#a9835135 Sent from the Struts - User mailing list archive at Nabble.com. ---

Struts 2 exception problem

2007-04-04 Thread oguzhan tortop
set("service", service); return SUCCESS; } public Service getService() { return service; } } ***** -- View this message in context: http://www.nabble.com/Struts-2-exception-problem-tf3525255.h