<a href="javascript:void(0)" onclick="deleteC('${c.cid}')">删除</a>
<script type="text/javascript">
function deleteC(cid){
if(confirm("您确定要删除吗")){
location.href="${pageContext.request.contextPath}/servlet?method=1&cid="+cid;
}
}
</script>
<a href="javascript:void(0)" onclick="deleteC('${c.cid}')">删除</a>
<script type="text/javascript">
function deleteC(cid){
if(confirm("您确定要删除吗")){
location.href="${pageContext.request.contextPath}/servlet?method=1&cid="+cid;
}
}
</script>