<%
ResourceBundle mybundle = ResourceBundle.getBundle("MyLabels");
String login=mybundle.getString("Login");
String reset=mybundle.getString("Reset");
%>
<fieldset>
Login Screen <br> <br>
<hr>
<center>
<table>
<form action="/Login" method="post">
<tr>
<td>User Id</td>
<td><input type="text" name="userid" id="userid"></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" name="password" id="password" maxlength=3
value=""></td>
</tr>
</table>
</center>
<br> <br>
<center>
<input type="submit" value=login>>
<button type="reset" value=reset>Reset</button>
</form>
</center>
</body>
我需要使用String login和reset作为按钮的值。 怎么做?我的方法是否正确?