Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getRequestDispatcher Method

 
Tarun Oohri
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone

I have a question although i know it is very silly to ask but still just want to know . It as follows:

Why is it that the getRequestDispatcher method is in ServletRequest interface aswell as ServletContext interface ... ??

Although it sounds ok to be in ServletRequest interface because this interface contains all the methods which provide the request information's to the servlet. But why did they add this method in the ServletContext ??

Thanks in Advance!!!
 
J. Kevin Robbins
Bartender
Posts: 1759
19
Chrome Firefox Browser jQuery Linux MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check this thread.
 
Tarun Oohri
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
J. Kevin Robbins wrote:Check this thread.


Thanks dear .. i got it
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic