Register / Login
Win a copy of
Re-engineering Legacy Software
this week in the
Docker in Action
Struts1: how to redirect instead of forward when FormValidator return errors?
posted 6 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