I am using tiles and each tile is a jsp. when i use the <html:messages tag in one of the tiles it works fine. but in the outer jsp ie where i say <tiles:insert , if i use the <html:messages tag it does not work. Can anyone please let me know the reason.
I believe it is because each jsp (or tile) gets processed as a completely separate entity. So the jsp associated with Struts must be the one to display the messages.
That is my hunch.
A good workman is known by his tools.
Gayatri Ganesh
Ranch Hand
Joined: Dec 23, 2003
Posts: 143
posted
0
Thanks Marc for replying.
What does it mean : So the jsp associated with Struts must be the one to display the messages.
I have <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> and the other required <@ taglib.. in all the jsps. The outer jsp (which has tiles:insert ) has the html:form
It is this outer jsp where the html:messages does not work.