We have the following directory structure:
Webapps->WEB-INF-JSP
Webapps->WEB-INF-Tiles.xml
Webapps-error.jsp
I have an issue with using error.jsp in my tiles xml file. I want the default layout to be applied to error.jsp. How do i access error.jsp in tiles.xml? If i give the following it doesnt work
<definition name="/error" extends="default">
<put-attribute name="body" value="/error.jsp" />
</definition>
Any input will be appreciated