留言板

How to include a .jsp file in a vm file outside of the theme folder?

thumbnail
Brian Scott Schupbach,修改在12 年前。

How to include a .jsp file in a vm file outside of the theme folder?

Expert 帖子: 329 加入日期: 08-10-23 最近的帖子
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