I do not know if it is a smart question but I am curious to know. I am checking the various scope and attributes/parameters associated and i am a bit surprised to see that the request scope has a java.lang.String getParameter(java.lang.String name) method but no setParameter method.
I want to redirect (out of our website) to some other site with adding some parameters as input. How can i solve this?
can you please help me on this?
you can append those data with the url. But that is not advisable if the data is too bulky. Instead you can post your data . But the other page ( the url where you are redirecting), must know how to fetch the data you are sending
Programming is about thinking, NOT coding
Joined: Sep 14, 2009
thanks for the reply, the problem is the data is like 2mb size characters(textarea) and other site is expecting in POST method and i think they are using request.paramter("textarea") something like, otherwise i could have used request.setAttribute(). is there any better way to handle this?