Re: Control Struts2 Tags with Conditional Tags

2014-06-11 Thread Lukasz Lenart
I'm not sure what do you want to achieve tags are rendered on server side and when user will interact with your webpage there will be just pure Html. You must send user selection back to server to allow re-render the page based on user choice and then tag come into play. 2014-06-11 12:31 GMT

Re: Forward to exception page instead of result in case of ognl runtime exception ?

2014-06-11 Thread Lukasz Lenart
Define validation for this field, then you will get validation error and Struts will forward to input result 2014-06-12 7:48 GMT+02:00 Mohit Gupta : > I have below action class where customerId is integer. If i pass customerId > as string from UI(I know it should not be allowed but there are > way

Forward to exception page instead of result in case of ognl runtime exception ?

2014-06-11 Thread Mohit Gupta
I have below action class where customerId is integer. If i pass customerId as string from UI(I know it should not be allowed but there are ways user can do it), i get exception ognl.MethodFailedException: . Please find stack trace at last @Results({ @Result(name = "displayCustomer", locatio

Re: Find action method in interceptor ( One action class with lots of action methods in it)

2014-06-11 Thread Christoph Nenning
> Please consider below action class: > > public class MyAction extends ActionSupport{ > > @Action("action1") > public String action1(){ > > } > > @Action("action2") >public String action2(){ > } > > @Action("action3") >

Control Struts2 Tags with Conditional Tags

2014-06-11 Thread NIJO GEORGE
-- -- Correct Answer :

Control Struts2 Tags with Conditional Tags

2014-06-11 Thread NIJO GEORGE
-- -- Correct Answer :