roy_sanu
asked on
resource not found
I have set in the code
, Here is the snapshot of the url path, what might be the reasontype Status report
it shows me the error, what might be the reason...
description The requested resource (/tiles/showError.jsp) is not available.
type Status report
message /tiles/showError.jsp
description The requested resource (/tiles/showError.jsp) is not available.
sb.append("/jsp/tiles/showError.jsp");
, Here is the snapshot of the url path, what might be the reasontype Status report
it shows me the error, what might be the reason...
description The requested resource (/tiles/showError.jsp) is not available.
type Status report
message /tiles/showError.jsp
description The requested resource (/tiles/showError.jsp) is not available.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I'd say you move all the tiles files outside WEB-INF and change the tiles definition to
<tiles-definitions>
<definition name="base.definition" template="/jsp/tiles/main.jsp">
<put-attribute name="header" value="/jsp/tiles/header.jsp" />
<put-attribute name="menuBar" value="/jsp/tiles/menuBar.jsp" />
<put-attribute name="body" value="/jsp/tiles/defaultContent.jsp" />
<put-attribute name="footer" value="/jsp/tiles/footer.jsp" />
</definition>
ASKER
Any way you are right, thanks
ASKER
the tiles files has
<tiles-definitions>
<definition name="base.definition" template="/WEB-INF/jsp/til
<put-attribute name="header" value="/WEB-INF/jsp/tiles/
<put-attribute name="menuBar" value="/WEB-INF/jsp/tiles/
<put-attribute name="body" value="/WEB-INF/jsp/tiles/
<put-attribute name="footer" value="/WEB-INF/jsp/tiles/
</definition>