1.get提交 如:
<a href="actions/Student_Add?name=a&age=8">路径问题说明add</a><br>
<a href="actions/Student_Delete?userDTO.name=aasdsabc&userDTO.age=120">路径问题说明delete</a><br>
2.post提交 如:
<form action="actions/Student_Delete" method="post">
<input type="text" name="userDTO.name" value="张三" />
<input type="text" name="userDTO.age" value="20" />
<input type="submit" value="提交" />
</form>
3.post提交, 通过button按钮
<form name="f" action="" method="post">
用户名 : <input type="text" name="userDTO.userName" /><br>
密 码 : <input type="password" name="userDTO.passWord" /><br>
年 龄 : <input type="text" name="userDTO.age" /><br>
<input type="button" value="submit1" onclick="javascript:document.f.action='user/User_add';document.f.submit();" />
</form>