Hi everyone,
I have this wierd issue with tiles. Please let me know what could be wrong.
I want to insert a tile (a
jsp page) into another tile (a jsp page) and so am using <tiles:insertDefinition name="status.index"/>
This is my config (simplified):
So now everything works fine and I can see the static contents of the status.jsp file which just contains text like ('this is a
test').
But if I try to insert the line <tiles:insertDefinition name="status.index"/> in searchEmployee.jsp instead of the layout.jsp, things fail and I get nullpointerexceptions and all.
I'm now wondering can we use <tiles:insertDefinition name="status.index"/> in a jsp that is used for <tiles:insertAttribute name="body" />??
Basically then whats the equivalent of <tiles:insert> in tiles 1.x to be used in
struts 2 tiles.
Tks