Originally posted by arun krishnamurthy:
1.Parameter are going to set in web.xml.
Originally posted by Bear Bibeault:
That's a context parameter and is a completely different concept than a request parameter, which is what I believe the original poster was asking about.
[ August 30, 2006: Message edited by: Bear Bibeault ]
Birla Murugesan wrote:
Attribute:
It's a key/value pair which is set at server side java file which redirected to another java or jsp
so the redirected java would get that attribute by using getAttribute.
Its value is a object.
the redirection is happen inside the server side,so there is no need to send the value through parameter.
Bear Bibeault wrote:
Not quite correct. Redirects are not restricted to the server, they are sent to the client and a new request is initiated. So whether the scoped variable (the correct term for "attribute") survives the redirect depends upon which scope it is placed in.
Perhaps you are confusing a redirect with a forward?
See ya later boys, I think I'm in love. Oh wait, she's just a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|