I don't quite understand what you mean by "I don't want to refresh the page"...
Do you mean that page A has a user that selects various boxes, then submits the form and page B then has the appropriate boxes already selected?
Where does the refreshing bit come in?
To generate this dynamically (I don't use JSP so can't give you code) you can check for the existence of the variable associated with each checkbox, and if it exists then when you print the code for the checkbox, insert checked="checked" into it....
Enter your message below
Sign in or Join us (it's free).