I came onboard an existing large web-app built with Java, Apache Tomcat, jBoss.. as the front-end guy to do Javascript work; but somehow find myself building new JSP page templates, as well as reusable tag files. I'm learning the templating language as I go and previously knew nothing about JSP or Java.
How do I determine the path to the JSP pages I've created and how do I resolve them in a web browser and have them compile and display with any associated tags, taglibs, etc.. that were used?
One of my JSP pages is like this:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ include file="/WEB-INF/jsp/common.inc" %>
<%@ taglib prefix="ab" tagdir="/WEB-INF/tags" %>
<ab:cPage pageId="overview">
<jsp:body >
<div class="features-wrapper">
<div class="features-content">
<h1>${heading}</h1>
<h2>${subheading}</h2>
<c:forEach var="accessory" items="${page.accessories.content}" varStatus="status">
<c:choose>
<c:when test="${empty accessory}">
</c:when>
<c:otherwise>
<ab:modelAccessoryItem value="${accessory}"/>
</c:otherwise>
</c:choose>
</c:forEach>
</div>
</div>
</jsp:body>
</ab:cPage>
The referenced tag file exists and needs to be rendered, but all the other variables are just placeholders for now and don't exist anywhere outside the JSP yet. I just want to be able to see what I'm working on in a browser as I start writing SASS and JS targeted towards these pages.