• 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

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

    Bookmark Topic Watch Topic
  • New Topic