I have these 2 similar function in my jsp file.
PortletURL deleteURL = renderResponse.createActionURL();
deleteURL.setParameter(ActionRequest.ACTION_NAME, "deleteUser");
deleteURL.setParameter("redirectURL", redirectURL.toString());
and
<portlet:actionURL name="deleteUser" var="deleteURL">
<portlet:param name="resourcePrimKey" value="<%=userid%>" />
<portlet:param name="redirectURL" value="<%=userPage.toString() %>" />
</portlet:actionURL>
They are however using GET method and I am trying to find a way to use POST instead. Where/how may I change to POST?