<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<h1>helloPost!</h1>
<body>
<form method="post" action="SelectBeer.do">
<p>Select beer</p>
<select name="color" size="1">
<option value="light"> light</option>
<option value="amber"> amber</option>
<option value="brown"> brown</option>
<option value="dark"> dark</option>
</select>
<center>
<input type="submit">
</center>
</form>>
</body>
</html>
可使用html+js+CSS+ajax
例子如上