I have written a class that generates html
I then included that class in a
servlet and call the methods to generate the page. This Page contains a standard two column layout with several div's on the left hand side. Each div contains either a radiobutton list or a checkbox list that receives information from a database.
The last div has four buttons: Submit,Reset,Export,Menu.
Now for the actual question.
How can I get the checkbox lists and Radio button lists to maintain the state of the items checked after the submit button is clicked.
The Reason.
The state needs to be maintained so the user can see what they have selected and also see the table the appears on the right hand side.
The Right hand Side.
The right hand side of the two column layout is a table that show the results of the the options selected on the left hand side. So in essence the left hand side is building the query.
This is a basic page that I have written several different modules for in asp.net.
Our Company is switching to
java and I am trying to simplify the process by writting classes to generate the pages either html or
jsp.
I have gotten the classes to generate the html out of the way but the question above is now the problem that I am running into.
Thank you in advance for your help.
Josh