How to include HTML in JSP?
I would like to show you a way, try like below. You can try with else instead with if
.
<body>
<%
int x = 10;
if(x>10) {
%>
<%@include file="some.html" %>
<%
}
%>
</body>