I have two War files on the Websphere server say A and B. Now from a jsp file in A, i want to send some variables values to a jsp file in B. When i do the following in jsp file in A: String referURL = "Http://url.com/folder/fileInB.jsp?getValue="+getValue;
And in jsp file in B: String getValue=(String)request.getParameter("getValue");
It gives getValue as null.
Also setting the variables in session doesn't help.
Any idea how to get the values of variables set in a jsp file in WAR A to a jsp file in War B on the same Websphere Version?
and then appending the path of the jsp file present in the another war file whose path i have referred in the getContextPath() API. But when i try to refer to those values, it returns null.
For the time being, i have moved the jsp file to the same war file, where i want to refer it. But i was just wondering, is it not possible to pass the values from one jsp in one war to another jsp in another war.
Joined: Jan 02, 2007
I'm sorry, I can not completly follow youre last post. But the code snippets I put in my previous post can be in different war's or even different servers.