Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JSP Processing instruction not closed

I tried to include an HTML file to my JSP but I eclipse show'd this error

The included file

<%@include file="includes/head.html" %>

And the error

Processing instruction not closed

And this is just the simple 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>
like image 459
user962206 Avatar asked Oct 07 '12 10:10

user962206


1 Answers

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

like image 66
Anurag Priyadarshi Avatar answered Oct 02 '22 04:10

Anurag Priyadarshi