Liferay portlet sharing objects between portlet class and JSP
I am new to Portlets and also with Liferay Portal and I want to know how to share a custom object created in the Portlet doView method with the J开发者_运维问答SP page. I know about adding the object to the ActionRequest and retrieving it in the JSP but is there a better way ? Thank you guys.
Check out Liferay's Inter-portlet communication (IPC). Here's a link that describes the IPC (via examples) http://wiki.java.net/bin/view/Portlet/JSR168FAQ#How_do_I_achieve_inter_portlet_c
hope this helps.
精彩评论