Register / Login
Win a copy of
Mesos in Action
this week in the
Struts1: how to redirect instead of forward when FormValidator return errors?
posted 7 years ago
I've tried many ways... but no success. Here is a piece of config code:
<action-mappings> <action path="/showLogin" forward="/pages/backend/login.jsp" /> <action path="/checkAccount" type="action.backend.CheckAccount" name="loginFormBean" input="/showLogin.do"/> </action-mappings>
How to redirect to the input of the "checkAccount" instead of forwarding?
If you think you've done too much, usually it means you've done too few.
validation error causes an URL problem!!
Global forward error
Cannot find ActionMappings or ActionFormBeans collection
My Execute method does not called