JSP - How to clear the HttpServletRequest
Posted on 2007-03-25
I wish to do is clear up all the parameters and attributes in the request(HttpServletRequest) pass by client, and set a new attribute, and dispatch it to another page, to summarize it in code:
//clear up all the parameters and attributes in the request pass by client<--How to do this
I can't find a method like request.clear(). Is there a corresponding method that can do this?