0

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.

Siva Sankar
  • 387
  • 1
  • 2
  • 9

1 Answers1

0

I think because it fails back to the body attribute of the base definition. Try to comment the body of the base definition and give it a try

QGA
  • 3,114
  • 7
  • 39
  • 62