As there is no direct way of removing parameters from the request that I
know of, what probably you could do is use the
setAttribute(<attr-name>,<value>) method of the request object to set the
"id" value to null or "".
I don't know if this helps u.
Meghana.
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Prashant Dalal
Sent: Thursday, January 11, 2001 9:47 AM
To: [EMAIL PROTECTED]
Subject: Removing parameters from request
Hello,
We all know that, in the include and forward , the request and also the
session gets forwarded to the page. But my question is before include or
forward, can we remove some thing from the request object.
For example -- if in the index.jsp we have a request parameter called "id" ,
so when we include another page say mid.jsp, the same request gets
forwarded. So we are getting the request parameter "id" again at mid.jsp
file. So can we do some operation where in this parameter should not go to
the page mid.jsp .
Please advice.
Thanks for response in advance.
Regards,
Prashant Dalal
||~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~||
Prashant P. Dalal
ICQ NO: 55279006
mailto:[EMAIL PROTECTED]
Home Page: http://prashantdalal.tripod.com/
||~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~||
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets