[英]Difference in the parameters between Liferay Resource and Action URLs
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门户中为资源URL创建一个自定义url过滤器(带有tuckey.org ),但是我不知道如何区分使用@ResourceMapping注解和使用@ActionMapping创建的URL。 Liferay adds to action and resource URLs some parameters by default.
Liferay默认将一些参数添加到操作URL和资源URL。 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. 非常感谢您的建议。
所有资源请求的URL中都具有request-param p_p_lifecycle=2
,而操作请求的p_p_lifecycle=1
和渲染请求的p_p_lifecycle=0
(这是默认值,通常会省略)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.