本来想在web.xml中美化一下注释,没想到弄出异常来了:
org.xml.sax.SAXParseException: The string "--" is not permitted within comments.
我的注释是这样写的:
<!-- -----<< Struts2 配置 >>---- -->
原因: << >>左右的"-----"是多余的,去掉就OK了
<!-- << Struts2 配置 >> -->
PS: 真晕 — —!
本来想在web.xml中美化一下注释,没想到弄出异常来了:
org.xml.sax.SAXParseException: The string "--" is not permitted within comments.
我的注释是这样写的:
<!-- -----<< Struts2 配置 >>---- -->
原因: << >>左右的"-----"是多余的,去掉就OK了
<!-- << Struts2 配置 >> -->
PS: 真晕 — —!