You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When fulfilling GET requests with a JSP view, you'd expect to be able to use JSP features like <%@page contentType="text/html; charset=UTF-8" %> or setting headers like 'Expires'. Unfortunately though, JspViewResolver chose to invoke RequestDispatcher.include, where
"The included servlet cannot change the response status code or set headers; any attempt to make a change is ignored."
Is there any reason for not using RequestDispatcher.forward ?
The text was updated successfully, but these errors were encountered:
When fulfilling GET requests with a JSP view, you'd expect to be able to use JSP features like
<%@page contentType="text/html; charset=UTF-8" %>
or setting headers like 'Expires'. Unfortunately though,JspViewResolver
chose to invokeRequestDispatcher.include
, where"The included servlet cannot change the response status code or set headers; any attempt to make a change is ignored."
Is there any reason for not using
RequestDispatcher.forward
?The text was updated successfully, but these errors were encountered: