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 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
the application but when I need to run
the struts
action I get a runtime exception with e.getMessage()=null and on the
debugger console I
get:
Non-existing path
"C:\altro_progetto\DVDLibrary\build\ear-module\WEB-INF\classes"
provided.
Attached JPDA debugger to localhost:tomcat_shared
I'm using struts 2.0.9.
I have a bean in a action.
The setter of the bean will throw a RuntimeException when the value is not a
legal value.
But when I submitted the form with the illegal value, and the
RuntimeException was thrown.
Nothing happens to struts 2 container. The exception disappeared an
Hello
I have one Nested.jsp included in a Frame.jsp. In my nested jsp I have
the following:
Do something.
I have NOT wrapped this in tags and there are no
tags in Frame.jsp.
When I call the page, without the my_parameter, instead of getting a:
javax.servlet.ServletException: Canno
5 matches
Mail list logo