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

Popular posts from this blog

ios - Change Storyboard View using Seague -

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -