By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,558 Members | 1,177 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,558 IT Pros & Developers. It's quick & easy.

how i get scripting variable value in another jsp page

P: 1
i m using this code..
Expand|Select|Wrap|Line Numbers
  1. function OnSelectionChange(select) 
  2.              {
  3.             var selectedOption = select.options[select.selectedIndex];
  4.             alert ("The selected option is " + selectedOption.value);
  5.                        }
i want get the selectedOption value in another jsp page. how can i get this value pls help me
May 28 '14 #1
Share this Question
Share on Google+
1 Reply


Dormilich
Expert Mod 5K+
P: 8,639
it depends on how the pages are related.

generally, since JSP is a server language you need to explicitly send the data over.
May 28 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.