In the below jsp file the user chooses between 3 options: A, B, C. When the menu is evaluated the output is fine, but the menu reset to the initial state. For instance: If I choose B, and evaluate the ouput is B (it is OK), but the input menu resest to A, how could I get that it stays in my last election (B)?
<%@ page language="java" %>
<%@ taglib uri="/webMathematica-taglib" prefix="msp" %>
<html>
<form name="fest" action="test.jsp" method="post">
<body>
Select a option:
<SELECT NAME="element" SIZE="1">
<OPTION VALUE="OptionA">A
<OPTION VALUE="OptionB">B
<OPTION VALUE="OptionC">C
</SELECT>
<br>
<br>
<msp:evaluate>
MSPBlock[$$element,$$element ]
</msp:evaluate>
<input type="submit" name="btnSubmit" value="Evaluate" >
</body>
</html>