Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i access request parameter in window opener

Status
Not open for further replies.

kuha

Technical User
Oct 23, 2001
14
US
Hi Friends,
I am opening another small window using window.open.
I want to access text feild of parent window in child window, that is when i say window.open(subwindow), subwindow opens. iam using
window.parentwindow.text.value and it is given me the text feild value in the sub window, but i want this parameter to be in http session so that i can use request.getParameter("value") and can validate but my request object is giving me null, what could be the possible error.
this is how i am doing,
document.subwindow.text.value = window.mainwindow.text.value
later in my jsp code i am using
<%request.getParameter(&quot;text&quot;)%>
iam getting this value as null, why request parameter is not receving this value.
i am able to get value from parent page, ie window.mainwindow.text.value is having the value.
Please suggest, and thanks for all the help in advance.
Harish
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top