Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use RequestDispatcher to include page content?

 
Chrix Wu
Ranch Hand
Posts: 121
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can i Use RequestDispatcher to include page content?

why not?

there is a question in HFSJ book p810
 
Abhay Agarwal
Ranch Hand
Posts: 1375
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes we can use include() method
Here is the examaple

include() method includes the content of a resource (servlet, JSP page, HTML file) in the response. The included servlet cannot change the response status code or set headers; any attempt to make a change is ignored.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic