JSP处理指令未关闭 [英] JSP Processing instruction not closed
本文介绍了JSP处理指令未关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图在我的JSP中包含一个HTML文件,但是我eclipse显示这个错误
I tried to include an HTML file to my JSP but I eclipse show'd this error
包含的文件
<%@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恢复。适合我。但是,熟悉日食的人可能会对为什么会发生这种情况有所了解
Select All, Backspace,Then ctrl+z to revert. works for me. But someone who knows eclipse well might shed some light as to why this happens
这篇关于JSP处理指令未关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文