Foren

custom_jsps directory location

Abid Mehmood, geändert vor 7 Jahren.

custom_jsps directory location

Junior Member Beiträge: 66 Beitrittsdatum: 08.09.11 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: custom_jsps directory location

Junior Member Beiträge: 66 Beitrittsdatum: 08.09.11 Neueste Beiträge
anyone?
thumbnail
Olaf Kock, geändert vor 7 Jahren.

RE: custom_jsps directory location

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: custom_jsps directory location

Junior Member Beiträge: 66 Beitrittsdatum: 08.09.11 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: custom_jsps directory location

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
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... ;)