Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
Brian Scott Schupbach
How to include a .jsp file in a vm file outside of the theme folder?
21 de abril de 2012 17:42

Brian Scott Schupbach

Ranking: Expert

Mensajes: 329

Fecha de incorporación: 23 de octubre de 2008

Mensajes recientes


In liferay 5.2.3 I was able to use $theme.include("/folder/file.jsp") if my file was located at tomcat/webapps/folder/file.jsp. It looks like in version 6 this has changed. It looks like the $theme.include is looking for the file within the theme folder. My question is how can I include a .jsp file in my velocity template that is outside of the theme folder? I've searched around quite a bit and only see people trying to reference .jsp files within their theme folder.

Thanks in advance,