How to redirect action with parameter as post in Struts? -
redirect action action struts.xml
:
<action name="checklogin" class="logins" method="checklogin"> <result name="input" type="redirectaction"> <param name="actionname">sectordisplay</param> <param name="branch_id">${branch_id}</param> </result> </action>
parametes sent branch_id
on url
, shows
http://localhost:8085/display/sectordisplay.action?branch_id=110
i think not post, get.
i not want show param on url, there way hide or how can post action?
thank you..
with redirection can pass get
parameters. can use action chaining alternative.
check these posts details:
Comments
Post a Comment