This how I pass a value to one JSP to another JSP.
First JSP file I use the following syntax.
<jsp:include page="down.jsp" flush="true">
<jsp
aram name="username" value="jsmith" />
</jsp:include>
In this case, I use a username as alience, and passing value is jsmith.
In the next JSP page,I use the following syntax,which take the passing value.
<%= request.getParameter("username") %>
In this code take the passing value.
Which It display the jsmith value in the interface.
That is all ,I know regarding this issue.