Stateless Spring MVC

前端 未结 2 1482
广开言路
广开言路 2021-01-06 12:20

Im currently reading Spring in Action 3rd edition, and have been experimenting with Spring MVC. Everything works well, until i tried to \'port\' my example webapp to a state

2条回答
  •  滥情空心
    2021-01-06 12:55

    Make sure to have all the JSPs use

    <%@page session="false" %>
    

    else a session will be created as soon as a JSP is executed.

提交回复
热议问题