The current application has severa .jspf files which are used as includes to main jsp files. While doing a proof of concept for converting to Tiles, I noticed that if I put the following tiles definition:
<definition name="tiles.Template" path="WEB-INF/layouts/DefaultLayout.jsp">
<put name="siteTitle" value="siteTitle" />
<put name="navigatorFilename" value="/common/nav_bar.jspf" />
<put name="linkId" value="home" />
</definition>
That the page loaded with an uncompiled nav_bar. So I changed the definition to nav_bar.jsp which worked.
However, I assume that .jspf's were used in this application because they offer some perfomance benefit, i.e. the fragment is only cached once or something.
Another trick i used to retain the .jsp extention was to put the .jspf inside a .jsp file like so:
nav_bar.jsp -----
<%@ include file="nav_bar.jspf" %>
----------------------
This technique seems round about - does it offer any preformance benefit?
Thanks
_________________________________________________________________
Learn to simplify your finances and your life in Streamline Your Life from MSN Money. http://special.msn.com/money/0405streamline.armx
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]