本文介绍了如何在liferay中重定向url的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hi,
I have a liferay 5.2.3 (http://localhost:8080/web/) instance with 80 portlets in it. In which the more requests are only for one particular portlet (portletA). So it is slowing down the other portlets requests processing. So I just created another liferay 5.2.3(http://localhost:8181/web/portletA) instance and deployed that portlet.
Now when I login through http://localhost:8080/web/ and type http://localhost:8080/web/portletA, that should redirect to http://localhost:8181/web/portletA.
I have tried the URL redirecting and the rule is ,
<rule>
<from>http://localhost:8080/web/portletA</from>
<to type="redirect">http://localhost:8181/web/portletA</to>
</rule>
But still it is not redirecting. Instead it is on http://localhost:8080/web/portletA and says the portlet is not deployed.
Any help is appreciated.
推荐答案
这篇关于如何在liferay中重定向url的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!