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

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -