jsp中通过超链接跳转到servlet中失败的原因

来源:互联网 发布:2017房地产数据分析 编辑:程序博客网 时间:2024/06/05 12:44
<td><a href="Del?id=<%=c.getId()%>">删除</a></td>

如果当前jsp文件在webContent下,Del不需要添加其他的路径。关键是doGet()方法中的doPost(request,response);要写;

0 0