title: spring form processing - redirecting success view
body: <p>In my spring application , Am doing form processing using SimpleFormController. Does any one know , how to redirect the successView to another resource (URI) ..?</p>
  
  <p>below is my configuration ,</p>
  
  <p><code>&lt;bean name="/one.htm" class="aaaaa.Bbbbbbbbb" &gt;</code></p>
  
  <pre><code>    `&lt;property name="commandClass" value="abc.Def"/&gt;`
      `&lt;property name="formView" value="one"/&gt;`
      `&lt;property name="successView" value="two.htm"/&gt;`
      `&lt;property name="validator" ref="loginValidator"/&gt;`
  </code></pre>
  
  <p><code>&lt;/bean&gt;</code></p>
  
  <p><code>&lt;bean name="/two.htm" class="xxxx.yyyy.Zzzzz" /&gt;</code></p>
  
  <p><code>&lt;bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;</code></p>
  
  <pre><code>    `&lt;property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/&gt;`
      `&lt;property name="prefix" value="/"/&gt;`
      `&lt;property name="suffix" value=".jsp"/&gt;`
  </code></pre>
  
  <p><code>&lt;/bean&gt;</code></p>
  
  <p>I want , the success view should go to <strong>/two.htm</strong> . but it searches <strong>/two.jsp</strong> .
  What could be the reason for this ?</p>