File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
I agree. Here's the link:
subject: Struts1: how to redirect instead of forward when FormValidator return errors?
validation error causes an URL problem!!
Global forward error
Cannot find ActionMappings or ActionFormBeans collection
My Execute method does not called
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015