Are you talking about getting this data to the "next" JSP, or to the JSP that resulted in the current page being displayed?
If the former, then a submit of some type has to happen in order to transition to the next JSP.
If the latter, then you need to find out a bit more about how JSP works. Perhaps
this article will help.