There are two ways of passing the argument
One, get way:
In this way, the parameters are written in the URL, for example, if the target argument page is target.jsp, then it can be written in the URL:
Http://..../target.jsp? <Param1> = <value1> & <Param2> = <value2> ....
Multiple parameters can be passed.
In target.jsp, use Request.getparameter ("<ParamName>");
Second, post mode
This method is to pass the parameters in the <form> frame body. For example, if you need to pass parameters from source.jsp to target.jsp. So you need to write this in source.jsp:
.......
<form name= "Form1" action= "target.jsp" method= "POST" >
<input name= "<Param1>" value= "<value1>" type= "text" >
<input name= "<Param2>" value= "<value2>" type= "hidden" >
<!--the hidden type of the input tag, the input label is not displayed when the page is displayed, but the parameter is passed back to the action target page of the form, which may be useful for your reference-->
.....
</form>
Use Request.getparameter ("<ParamName>") at target.jsp end;