|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
DWR + Spring + Redirect ProblemHi
I'm submitting a form trough dwr. The request is handled by a spring controller, once the actions have been taken the result is a redirect to another controller. At this point i get the following warning.. WARN org.directwebremoting.util.SwallowingHttpServletResponse - Ignoring call to sendRedirect(index) My bean configuration is as following <bean name="addContactController" class="com.edifice.controller.AddContactController"> <property name="sessionForm" value="false"/> <property name="commandName" value="contactCommand"/> <property name="commandClass" value="com.edifice.dao.Contact"/> <property name="formView" value="contactForm"/> <property name="successView" value="redirect:index"/> <property name="cancelView" value="redirect:index" /> <property name="cancelParamKey" value="cancel"/> <property name="validator" ref="contactValidator"/> <property name="salutations" ref="salutations"/> <property name="contactDaoImpl" ref="contactDaoImpl"/> <property name="clientDaoImpl" ref="clientDaoImpl"/> </bean> when the form inputs are invalid i get the result correctly (form + error messages will be shown) because its not a redirect from the controller.. but if it was a cancel or success the result is been swallowed.. Im using : wctx.forwardToString(url); to submit my form.. What might I be doing wrong here? ![]() Also I would like to know does DWR allows redirects when using forwardToString() method?? Thanks in advance |
|
|
Re: DWR + Spring + Redirect Problem
View this message in context: Re: DWR + Spring + Redirect Problem Sent from the DWR - Users mailing list archive at Nabble.com. |
| Free Forum Powered by Nabble | Forum Help |