Skip to content
Snippets Groups Projects
Commit 9106b838 authored by Keith Donald's avatar Keith Donald Committed by Mic
Browse files

polish

parent 2742ccbd
No related branches found
No related tags found
No related merge requests found
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
<li><a href="<c:url value="/account/signout"/>">Sign Out</a></li> <li><a href="<c:url value="/account/signout"/>">Sign Out</a></li>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<li><a href="<c:url value="/account/signin"/>">Sign In</a></li> <li><a href="<c:url value="/account/signin"/>">Sign In</a></li>
<li><a href="<c:url value="/account/register"/>">Register</a></li>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</ul> </ul>
...@@ -26,7 +25,6 @@ ...@@ -26,7 +25,6 @@
<li><a href="<c:url value="/"/>">Home</a></li> <li><a href="<c:url value="/"/>">Home</a></li>
<li><a href="appointments">Appointments</a></li> <li><a href="appointments">Appointments</a></li>
<li><a href="owners">Owners</a></li> <li><a href="owners">Owners</a></li>
<li><a href="pets">Pets</a></li>
</ul> </ul>
</div> </div>
</div> </div>
......
...@@ -9,17 +9,11 @@ ...@@ -9,17 +9,11 @@
<!-- HANDLER MAPPING RULES --> <!-- HANDLER MAPPING RULES -->
<!-- Maps requests to @Controllers based on @RequestMapping("path") annotation values <!-- Maps requests to @Controllers based on @RequestMapping("path") annotation values
If no annotation-based path mapping is found, Spring MVC proceeds to the next HandlerMapping (order=2 below). --> If no annotation-based path mapping is found, Spring MVC sends a 404 response and logs a pageNotFound warning. -->
<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"> <bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping">
<property name="order" value="1" /> <property name="order" value="1" />
</bean> </bean>
<!-- Maps requests to @Controllers based on controller class name convention; e.g. a request for /hotels or a /hotels sub-resource maps to HotelsController
If no class mapping is found, Spring MVC sends a 404 response and logs a pageNotFound warning. -->
<bean class="org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping">
<property name="order" value="2" />
</bean>
<!-- REGISTERED HANDLER TYPES --> <!-- REGISTERED HANDLER TYPES -->
<!-- Enables annotated @Controllers; responsible for invoking an annotated POJO @Controller when one is mapped. --> <!-- Enables annotated @Controllers; responsible for invoking an annotated POJO @Controller when one is mapped. -->
...@@ -27,12 +21,12 @@ ...@@ -27,12 +21,12 @@
<!-- VIEW RESOLUTION AND RENDERING --> <!-- VIEW RESOLUTION AND RENDERING -->
<!-- Resolves view names to protected .jsp resources within the /WEB-INF directory --> <!-- Resolves view names to tiles definitions in /WEB-INF/tiles.xml -->
<bean class="org.springframework.web.servlet.view.UrlBasedViewResolver"> <bean class="org.springframework.web.servlet.view.UrlBasedViewResolver">
<property name="viewClass" value="org.springframework.web.servlet.view.tiles2.TilesView" /> <property name="viewClass" value="org.springframework.web.servlet.view.tiles2.TilesView" />
</bean> </bean>
<!-- Initializes the Apache Tiles 2 system --> <!-- Initializes the Apache Tiles CompositeView system -->
<bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles2.TilesConfigurer" /> <bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles2.TilesConfigurer" />
<!-- Configures Apache Commons Fileupload --> <!-- Configures Apache Commons Fileupload -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment