스프링 (Spring)에서 리다이렉트 (Redirect) 시 Model Attributes가 GET 파라미터 (Parameter)로 붙지 않도록 설정해보아요

 
 
스프링에서 리다이렉트 시 Model Attributes가 GET 파라미터로 붙지 않도록 설정하기 위해 다음과 같이 해보실 바랍니다.

<mvc:annotation-driven ignore-default-model-on-redirect="true">

...

</mvc:annotation-driven>

Reference:

http://stackoverflow.com/questions/13247239/spring-mvc-controller-redirect-without-parameters-being-added-to-my-url

댓글

Designed by JB FACTORY