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
>> 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
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
--- 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.
___
> 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-
--- 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
-
> 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
--- 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
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
--- 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
; 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
>
> --
--- 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();
> >> [...]
> >>
return Action.ERROR;
>>}
>>}
>>}
>>
>> -Action
>> Class--
>> public class CreateServiceAc
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.
---
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
15 matches
Mail list logo