Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getRequestDispatcher

 
Romy Huang
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is difference between ServletContext and request getRequestDispatcher?
 
Lucy Hummel
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In case
Context: you need the full path - starting with '/'.
Response: you can use relative path

That is what I know.
 
Lucy Hummel
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry I mean

Request instead of Response
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic