method="get" 会冲掉 url中的参数.
如: <form action="<%=basePath%>getCountGraph.do?type=waterHomePage" method="post" name="waterForm">
<select id="year" name="year">
<option value="${year}">${year}</option>
如果用post方法,提交这个form后的url是不变的. 为
http://localhost:7001/xxx/getCountGraph.do?type=waterHomePage
如果用method="get"方法,提交form后的url为
http://localhost:7001/xxxgetCountGraph.do?year=2008
会把type="waterHomePage"这个参数冲掉.