0
我有一個Spring引導MVC應用程序部署在jboss-eap-6.4
。但JSP頁面中彈簧形式標籤沒有呈現。Spring引導MVC應用程序JSP不在jboss-eap-6.4中呈現
我在application.properties添加以下行文件
server.servlet-path=/*
spring.view.prefix=/WEB-INF/jsp/
spring.view.suffix=.jsp
能打到使用URL模式,但得到以下錯誤,當我嘗試從控制器重定向JSP控制器。
ERROR [org.springframework.boot.context.web.ErrorPageFilter]
(http-/127.0.0.1:8080-1) Cannot forward to error page for request [/login]
as the response has already been committed. As a result, the response may
have the wrong status code. If your application is running on WebSphere
Application Server you may be able to resolve this problem by setting
com.ibm.ws.webcontainer.invokeFlushAfterService to false
請讓我知道jboss-eap-6.4
是否支持帶有JSP的Spring引導MVC應用程序。