How to Pass
Request Parameters
How to pass request parameters from one page to other page and how to use these parameters in next page? You can pass parameters in the following way: Suppose you want to pass username & password from the existing page to a page named test.jsp then you can write: <%
Now you can use the string variable nextp either as a hyperlink or in a submit button. The variables usern & passw are String type variables containing username & password respectively. To fetch these details from the test.jsp page just write: <%
Related:
Java Certification, Programming, JavaBean and Object Oriented Reference Books Return to : Java Programming Hints and Tips All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|