I need to create a custom url filter (with tuckey.org) for resource URL in liferay portal, but I don’t know how to distinguish URL created by liferay with @ResourceMapping annotation and the same created with @ActionMapping.
Liferay adds to action and resource URLs some parameters by default. I want to apply my filter only to resource links. Please help me to understand a difference between these URLs.
Thanks a lot for the advice.
All resource requests have the request-param
p_p_lifecycle=2in their url, whilst action requests havep_p_lifecycle=1and render requestsp_p_lifecycle=0(which is the default and often omitted)