servlets - How to Send Post request in java with javax.portlet.ActionResponse.sendRedirect method? -
i want post url following making , how can post
object portletresponse = webappaccess.gethttpservletrequest() .getattribute(constants.portlet_response); if (portletresponse instanceof javax.portlet.actionresponse) { javax.portlet.actionresponse actionresponse = (javax.portlet.actionresponse) portletresponse; actionresponse.sendredirect(url); }
have tried use requestdispater
instead of response.sendredirect?
it retains original request, without changing it.
so, remain post if post.
Comments
Post a Comment