Register / Login
Win a copy of
Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Struts1: how to redirect instead of forward when FormValidator return errors?
posted 8 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.
Boost this thread!
validation error causes an URL problem!!
Global forward error
Cannot find ActionMappings or ActionFormBeans collection
My Execute method does not called