My code is like
<definition name="base" template="/layouts/classic.jsp">
<put-attribute name="title" value="Tiles tutorial homepage" />
<put-attribute name="header" value="/tiles/banner.jsp" />
<put-attribute name="menu" value="/tiles/common_menu.jsp" />
<put-attribute name="body" value="/tiles/home_body.jsp" />
<put-attribute name="footer" value="/tiles/credits.jsp" />
<definition name="test" extends="base">
<put-attribute name="body" value="/jsp/unauthorised.jsp" />
</definition>
In unauthorized.jsp I am setting the response status as 401. I am checking the network in the browser status was coming as 200 If I call without extending the base it works fine. Please let me know if anyone faced the similar isse.