model view controller - Spring MVC IE7 redirect -


first, execute save.do in edit.jsp

@requestmapping(value = "/saveuser.do") public string saveuser(user user) {     userservice.save(user);     return "redirect:/listuser.do"; } 

i system redirect list.do

@requestmapping(value = "/listuser.do") public string listuser(user user, httpservletrequest request) throws exception {      list<user> list = userservice.getall(user, getrowbounds(request));     request.setattribute("list", list);     return "/framework/system/user/listuser"; } 

when use chrome, page view new data. if use ie7, page not view new data, views old data. ie11 seems working fine.

tanks every one. find answer.

add

<mvc:interceptors>      <bean id="webcontentinterceptor"             class="org.springframework.web.servlet.mvc.webcontentinterceptor">          <property name="cacheseconds" value="0"/>          <property name="useexpiresheader" value="true"/>          <property name="usecachecontrolheader" value="true"/>          <property name="usecachecontrolnostore" value="true"/>      </bean>  </mvc:interceptors>

how set header no cache in spring mvc 3 annotation


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -