This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
dont directly submit jsp to another jsp. introduce servlet in between that.
to transfer your value you need to tie the value to html tags. for instance use hidden html tag in html form to submit the value to servlet.
and in servlet get the value using request#getParameter. and set the value in any one of the scope(preferably request)and forward to Second.jsp
in Second.jsp you read/print the value.
P.S: there are many ways to do this. the above flow is just one of them.