I am using Tiles with
Struts. I have used the tiles definition xml files to generate the
JSP pages. For eg. I have a JSP called timesheet.jsp which I have defined in the tilesDefinition.xml file. This definition name is then referenced in the struts-config.xml. Upto this everything is fine. Now I have a submit button in this jsp, which calls the corresponding action, which forwards to a success page or a error page. When it is forwarded to a error page, my problem is how to make a HREF to go back to the timesheet page. As this JSP page is being built by parsing the tileDefinitions.xml file, the only reference I have of this JSP page is the name in the tileDefinitions.xml file's definition tag.
I am not able to figure out how to make this a HREF to the timesheet.jsp.
I tried the html:link tag's forward attribute and gave the referenced name here. But it didn't work.
Please help me that how I can do that.
Thanks in advance