您的位置:首页 > Web前端 > JavaScript

在jsp里面不要瞎用<!-- -->注释

2013-07-11 12:17 239 查看
如图:



SEVERE: Servlet.service() for servlet jsp threw exceptionorg.apache.jasper.JasperException: /ch12/hellotag.jsp(7,46) Attempt to redefine the prefix holyshit to mldn_hello, when it was already defined as /WEB-INF/hellotag.tld in the current scope.

尼玛我搞了半天这个exception,原来是因为第一个@taglib没有被注释掉,我BLEEP!难道这就是传说中的很傻很天真?我还以为这个注释管用呢

  后来发现,原来应该这么用:<%----%>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: