• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

RequestDispatcher question

 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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



 
reply
    Bookmark Topic Watch Topic
  • New Topic