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

如图:

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!难道这就是传说中的很傻很天真?我还以为这个注释管用呢

  后来发现,原来应该这么用:<%----%>

原文地址:https://www.cnblogs.com/qrlozte/p/3183692.html