I necessary to use JAVA and Angular2. Can i use JSP with Angular2 ?
i got error message
app.component.ts
@Component({
...
templateUrl: '../views/sidebar.jsp',
...
})
sidebar.jsp
<li>
<a href="<c:url value="/logout" />">
<i class="fa fa-sign-out fa-fw"></i>
Logout
</a>
</li>
Error
EXCEPTION: Template parse errors:
Unexpected closing tag "a" ("></li>
<li><a href="<c:url value="/logout" />"><i
class="fa fa-sign-out fa-fw"></i> Logout[ERROR ->]</a></li>
</ul>
</div>
"): AppComponent@58:45
====================================================================
edited
<li><a href="<c:url value="/logout" />">
to
<li><a href='<c:url value="/logout" />'>
however JSTL tag wasn't compile :(