• Post Reply Bookmark Topic Watch Topic
  • New Topic

RequestDispatcher question  RSS feed

 
Promod kumar
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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



 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!