Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Parameter removal from request for use in RequestDispatcher

 
Surasak Leenapongpanit
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know how to remove parameters from a request which will then be used in a RequestDispatcher.forward() call?
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One way is to wrap the request in a RequestWrapper which denies access to those parameters. A similar approact, but for adding or changing parameters is discussed in this recent post in this forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic