你好。。我在freemarker的頁面調用了<@s.token> 報錯;
java.lang.IllegalArgumentException: Error creating HttpSession due response is commited to client. You can use the CreateSessionInterceptor or create the HttpSession from your action before the result is rendered to the client: Cannot create a session after the response has been committed
at org.apache.struts2.util.TokenHelper.setToken(TokenHelper.java:77)
請問是怎么回事? 回復更多評論