A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Struts1: how to redirect instead of forward when FormValidator return errors?
Joined: Jan 03, 2009
Jun 08, 2009 10:26:19
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.
It is sorta covered in the
JavaRanch Style Guide
subject: Struts1: how to redirect instead of forward when FormValidator return errors?
My Execute method does not called
Cannot find ActionMappings or ActionFormBeans collection
validation error causes an URL problem!!
Global forward error
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014