我试图将 HTML 文件包含到我的 JSP 中,但我的 Eclipse 显示了此错误
包含的文件
<%@include file="includes/head.html" %>
和错误
Processing instruction not closed
这只是简单的 JSP
<%@include file = "includes/head.html" %>
<form action = "#" method = "POST">
Username: <input type = "text" name = "username"><br/>
Password: <input type = "password" name = "password"><br/>
</form>
</body>
</html>
选择全部,退格键,然后按 ctrl+z 恢复。对我有用。但熟悉 eclipse 的人可能会解释为什么会发生这种情况
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)