Adding causes java.lang.IllegalStateException: Cannot create a session after the response has been committed

后端 未结 5 569
南旧
南旧 2020-11-22 14:09

I\'m facing the following exception in a very simple JSF 2 page after adding :

java.lang.IllegalStateException: Cannot create a se         


        
5条回答
  •  盖世英雄少女心
    2020-11-22 14:54

    If you are using Spring MVC and call is made by Spring Forms then we should use GET method instead of POST(to fetch data) and there should be no input field we can use intead.

提交回复
热议问题