springCloud Eureca消费者Consumer的项目
作者:互联网
2.消费者的项目:
index.html:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
index1
<a href="/hello.do">test jump 跳转</a><br>
<a href="/hello1.do">test DB数据库</a><br>
<a href="/getObj.do">test 获取数据库对象</a><br>
<hr>
马克-to-win@马克java社区此表测试post
<form action="insertObj" method="post">
姓名:<input type="text" name="markname" placeholder="用户名" /><br />
<button type="submit" >提交</button>
</form>
<hr>
马克-to-win@马克java社区此表测试put(The other HTTP methods (i.e. other than GET and POST) are not available in HTML 4.1 or XHTML 1.0.
也就是说实际上HTML5以前,FORM都仅支持GET和POST。所以用post模拟put)
<form action="updateObj" method="post">
姓名:<input type="text" name="markname" placeholder="用户名" /><br />
<button type="submit" >提交</button>
</form>
<hr>
马克-to-win@马克java社区此表测试delete
标签:java,此表,springCloud,Eureca,马克,html,win,test,Consumer 来源: https://blog.csdn.net/mark_to_win/article/details/88742836