struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilja Smoli" <>
Subject ActionForm validate and redirect
Date Fri, 03 Dec 2004 14:33:15 GMT
I use validate method in one of my ActionForms, after validation is fail,
method redirects browser to wahatever is set in struts-config.xml under
input attribut... I faced problem that i need this value to be dynamic. (I
want to redirect a user to same page from where form has been submitted but
with error messages. And this page has query paramters :( )
Trying to call actionMapping.setInput("") gives exception...(Frozen config)
So seems to be ActionForm validating is not so flexible and cool :-)? Or
maybe application must use static pages where forms are located?
Of course I can do validation in action and achieve needed result....
Opinion of experts....?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message