留言板

custom_jsps directory location

Abid Mehmood,修改在7 年前。

custom_jsps directory location

Junior Member 帖子: 66 加入日期: 11-9-8 最近的帖子
Hi
I just noticed that the during creation of a jsp hook from IDE, the default location for custom_jsps folder in a hook is META-INF/custom_jsps.

Just curious to know, any particular reason why this folder is in META-INF.
Abid Mehmood,修改在7 年前。

RE: custom_jsps directory location

Junior Member 帖子: 66 加入日期: 11-9-8 最近的帖子
anyone?
thumbnail
Olaf Kock,修改在7 年前。

RE: custom_jsps directory location

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
Abid Mehmood:
anyone?


You can have them anywhere. And the JSPs are actually not required in the hook's context at runtime, because they're physically copied into the portal's context. But just the anywhere should be a good hint that it doesn't matter.
Abid Mehmood,修改在7 年前。

RE: custom_jsps directory location

Junior Member 帖子: 66 加入日期: 11-9-8 最近的帖子
Thanks a lot Olaf for the reply. Exactly and that's why i asked the question that if there was any particular reason. I know its just nitpicking but it just doesn't look good in META-INF considering the purpose of META-INF folder.
thumbnail
Olaf Kock,修改在7 年前。

RE: custom_jsps directory location

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
Abid Mehmood:
... it just doesn't look good in META-INF considering the purpose of META-INF folder.


wait until you start development for Liferay 7 or DXP... ;)