Get a variable for the url usign the portlet tag


<portlet:renderURL var="url1">
	<portlet:param name="url" value="displayurl1"/>
</portlet:renderURL>

Use it in an href


<p><a href="<%=url1%>">Here is the link</a></p>

satya - Sunday, October 22, 2006 8:20:10 AM

Nature of a render url in liferay

http://localhost:8080/c/portal/layout?p_l_id=PRI.15.1
&p_p_id=AspirePortlet1
&p_p_action=0
&p_p_state=normal
&p_p_mode=view
&p_p_col_id=column-1
&p_p_col_pos=4
&p_p_col_count=6
&_AspirePortlet1_url=IndentHome2URL
&#p_AspirePortlet1

See how a parameter called "url" is encoded or prefixed with the portlet name