I am trying to make a form that consists of several radio buttons. After clicking the submit button the result will be shown on the same page. I want to add this feature to my program so that after submitting the form and presenting the results, user can see his selected fields.
I have tried this code but it did not work.
"stat" is the name of my java package that I have called in this .jsp file and I have defined setcolor() and getcolor() in that java package.
Thank you for your response. I am very new to Servlets and JSPs development. Can you introduce a book or a good source that I can use?
And with regards to colors and storing them as number, that was an example of what I am doing. In fact I am working on creating a calculator that its parameters should be entered via a form that consists of both textfields and radio buttons.