Combination View Flat View Tree View
Threads [ Previous | Next ]
Brian Scott Schupbach
How to include a .jsp file in a vm file outside of the theme folder?
April 21, 2012 5:42 PM
Answer

Brian Scott Schupbach

Rank: Expert

Posts: 329

Join Date: October 23, 2008

Recent Posts

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