posted 14 years ago
Dear Experts,
I am having one JSP page within which I need to show a popup and accept user input. For this I have written JavaScript code within the same JSP to show a Prompt to accept the input from user.
Now the value which the user has entered is within JavaScript's <script>... </script> block.
I want to use this value in the JSP page, but I do not want to forward the request to another JSP. I wish to use the Javascript variable within the same JSP page.
Below is the code I am using:
I am new to JSP. I have searched this forum and found some threads with similar issues, but am not able to get a clear understanding on how exactly to proceed.
Can anyone point me out to the right direction?
Warm regards,
Saurabh