Foros de discusión

custom_jsps directory location

Abid Mehmood, modificado hace 7 años.

custom_jsps directory location

Junior Member Mensajes: 66 Fecha de incorporación: 8/09/11 Mensajes recientes
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, modificado hace 7 años.

RE: custom_jsps directory location

Junior Member Mensajes: 66 Fecha de incorporación: 8/09/11 Mensajes recientes
anyone?
thumbnail
Olaf Kock, modificado hace 7 años.

RE: custom_jsps directory location

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
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, modificado hace 7 años.

RE: custom_jsps directory location

Junior Member Mensajes: 66 Fecha de incorporación: 8/09/11 Mensajes recientes
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, modificado hace 7 años.

RE: custom_jsps directory location

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
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... ;)