I have the following
JSP and a html file, forw.html with text, "This is static content"
When I request the JSP, I get an illegal state exception. The stack trace is copied. If I use forw.jsp(when getting the request dispatcher) which has the same contents as forw.html, the code works (The browser displays "This is static content"). I looked at the API and did not find anything, Can someone explain this.
Source of the question: HFSJ Final Mock, based on Question 22