<form action="${base}/wap2/quarters/index.jhtml" method="post" >
<div class="quartesIndex">
<ul>
<li>小区名</li>
<li>地址</li>
<li>操作</li>
</ul>
[#list page.list as quartes]
<ul>
<li style="line-height: 300%;">${quartes.quartersName}</li>
<li>${quartes.province}${quartes.city}${quartes.area}${quartes.town}</li>
<li style="line-height: 300%;">
<a href="${base}/wap2/quarters/edit.jhtml?quartersId=${quartes.quartersId}">修改</a>
<a data-id="${quartes.quartersId}" onclick="del(this)">删除</a>
</li>
</ul>
[/#list]
</div>
<input type="text" placeholder="请输入地址或者小区名" class="query" name="query">
<input type="submit" value="查询" >
<a href="${base}/wap2/quarters/addQuarters.jhtml">添加小区</a>
</form>
网页代码如上,后台用 String query=getPara("query"); 接收到的是乱码
Url : POST /wap2/quarters/index
Method : index
UrlPara : index
Parameter : query=å¶å¥½
--------------------------------------------------------------------------------