<head><title>Simple jsp page</title></head>
<body>
<form action="" method="post" name="myForm">
用户名:<input type="text" name="username" /><br>
密码:<input type="password" name="password" /> <br>
<input type="button" value="测试登陆" onclick="javascript:document.myForm.action='/login.do';document.myForm.submit();">
<input type="button" value="测试BeanWrite标签" onclick="javascript:document.myForm.action='/beanWrite.do';document.myForm.submit();">
<input type="button" value="测试Logic标签" onclick="javascript:document.myForm.action='/logic.do';document.myForm.submit();">
<input type="button" value="测试Iterator标签" onclick="javascript:document.myForm.action='/iterator.do';document.myForm.submit();">
</form>
</body>
</html>