the session information wil b lost because i have to set it in same jsp page where i have the submit button.is there any option which is in the < a href filed.i mean we can send the run time information using "?" in href is it possible in submit button also?
I don't think the session infromation will be lost but just use the hidden input fields that I suggested. There are better than filling the url with data. Where are you submitting the data to from the jsp(another jsp, servlet etc)?