Foros de discusión
How to include a .jsp file in a vm file outside of the theme folder?
Brian Scott Schupbach, modificado hace 12 años.
How to include a .jsp file in a vm file outside of the theme folder?
Expert Mensajes: 329 Fecha de incorporación: 23/10/08 Mensajes recientes
Hello,
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,
Brian
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,
Brian