i just starter to learn jsp and i have few questions.
1) in my jsp project i have jsp page and java classes that defined as jsp beans.
my jsp page contains submit button. is there a way to define that each time i press the
button the program will run a function from one of the java classes that defined as beans ?
2) is there a command that can make the jsp page to be runned again?
at the end of my jsp page i want to write:
<% if (...) { %>
run the page again
<% } %>
so when i run the page at the end if the if's condition is true the page will be runned again.
3) in my jsp page i have a select form:
<form><SELECT SIZE=1 align="center" name="mode">
<OPTION SELECTED VALUE = "UU"> user vs user </OPTION>
<OPTION VALUE = "UC"> user vs computer </OPTION>
<OPTION VALUE = "CU"> computer vs user </OPTION>
</SELECT></form>
how can i get the string of the current selected option ?