Announcement Announcement Module
Collapse
No announcement yet.
Can't get <c:redirect> to work with Spring MVC Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can't get <c:redirect> to work with Spring MVC

    I'm not sure if this is a Spring MVC problem per se. If not, my apologies for posting it in this forum. I'm using Spring MVC with the <form:form> JSTL stuff. My controller extends SimpleFormController. In the onSubmit() method, I return the success view as usual. The success view renders fine, and the only thing I'm trying to do on that page is to redirect to a different URL. Here's the snippet from the page:

    Code:
    <c:redirect url="some_url_here.html" >
    	<c:param name="searchTerms" value="${model.configFormModel.searchItem}" />
    </c:redirect>
    The redirect never happens. Am I doing something wrong here, or should this work? Thanks,

    Bluzcat
Working...
X