Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RequestDispatcher

 
amarkirt saroay
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ways to get the Request dispatcher:

ServletRequest.getRequestDispatcher(String name)
ServletContext.getRequestDispatcher(String name)
ServletContext.getNamedRequestDispatcher(String name)

I could not get the way ServletContext.getNamedRequestDispatcher(String name) is used? What is passed into as a String?

Another question related to the same is :
How can we say that additional request dispatcher attributes are added when the req Dispatcher is not obtained via getNamedDispatcher() method?


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic