Jak dołączyć HTML do JSP?

szukałem tego pytania, jest kilka odpowiedzi, ale nie do końca. więc oto mój kod jsp:

<body>
    <%
        if (manager.isValid(request.getParameter("username"),request.getParameter("password"))){
            out.print("<h1> Welcome ");
            out.print(request.getParameter("username") + "</h1>");
        } else {
            out.print("<h1> Please Try Again </h1> <br />");
            out.print("Either your username or password is incorrect. Please Try again <br /> <br />");
                        }
    %>
    <%@ include file="LoginForm.html" %>

ale zamiast tego chcę dołączyć „loginForm.html” tylko do bloku „else”. jak mogę to zrobić? oczywiście to nie działa, ale zgadniesz, czego chcę:

<%
        if (manager.isValid(request.getParameter("username"),request.getParameter("password"))){
            out.print("<h1> Welcome ");
            out.print(request.getParameter("username") + "</h1>");
        } else {
            out.print("<h1> Please Try Again </h1> <br />");
            out.print("Either your username or password is incorrect. Please Try again <br /> <br />");
            include file="LoginForm.html" ;
        }
    %>

questionAnswers(2)

yourAnswerToTheQuestion