Hello everyone,
I'm new to j2ee and I want to use servlets to create a page with a radio button in it and a next button for going to another page with another radio button, a submit button that closes the session and a previous button for going back to the previous page.

Could anyone provide any idea of sample code please?
Do I have to create first the two html with the radio button questions or can I do everything into the servlet?

Thanks in advance.