我在页面上导入了 struts标签,结果抛异常了

Exception:/jsp/customer/customerDetail.jsp(line:3,column:41)Attempttoredefinetheprefi... Exception: /jsp/customer/customerDetail.jsp (line: 3, column: 41) Attempt to redefine the prefix s to /struts-tags, when it was already defined as /WEB-INF/tld/struts-tags.tld in the current scope.
意思好像是说我在web-inf这个文件夹中已经定义过了,所以冲突了。哪位大侠,帮忙解释下这种在web-inf。xml中导入标签需要注意的事项,以及正种导入标签的详细方法
展开
 我来答
爱荒岛
2014-02-11 · TA获得超过161个赞
知道小有建树答主
回答量:157
采纳率:100%
帮助的人:86.8万
展开全部
如果你导入了struts的jar包了,你用的时候直接在jsp中的头文件部分写<%@taglib prefix="s" uri="/struts-tags" %>就是了,
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式