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>
馬克-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">