This is a long one...sorry for that..
I need to,
January 10, 2007 at 8:03 PM
This is a long one...sorry for that..
I need to know how to invoke tiles framework from a JSP without moving control to the action class etc. Say I have contacts.jsp which just lists down the contacts. Suppose on home page, there is a link "contacts". When user clicks this link, he/she should be presented with the contacts.jsp keeping header, footer and all same as home page.
As of now say I have tiles implemented with my header,footer and content page separated. I access the home page using *.do pattern instead of directly accessing the JSP. This would bring tiles framework into picture. So I have all my header,footer and main page displayed. Now what should be the target for the "contact" link. If I simply put contact.jsp in in "A href", it would not display header and footer. If I put contact.do, then I have to put an action path in struts-config, create an Action class which will do nothing but to return a forward and invoke tiles. I need to know what should I do so that contacts page is displayed (With header and footer) without creating action class and an entry in struts-config.
View All Comments
| View Tutorial