--
--
Correct Answer :
--
--
Correct Answer :
> Please consider below action class:
>
> public class MyAction extends ActionSupport{
>
> @Action("action1")
> public String action1(){
>
> }
>
> @Action("action2")
>public String action2(){
> }
>
> @Action("action3")
>
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
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
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
6 matches
Mail list logo