You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ragavendran <ra...@gmail.com> on 2010/11/30 13:13:54 UTC

forward request url from server side

	
i created one jsp(confirmPaymnt.jsp) like this and run from my server
machine.
its working fine.

	
confirmPaymnt.jsp:
-------------------
 <form name ="myform"
action="http://168.183.169.195/Payment/eNetMainAPI.aspx" method="post" >
   <input type="hidden" name="merchant" id="merchant" value='<%=
udb.getMerchant() %>'/ >
  <input type="hidden" name="transaction_id" id="transaction_id" value='<%=
udb.getTransaction_id() %>'/ >
   <input type="hidden" name="amount" id="amount" value='<%= udb.getPrice()
%>'/ >
   <input name="processpage" type="hidden"
value="http://www.octopusplus.com/process.do" id="processpage"
style="width:733px;" />
   <input type="hidden" name="sec_key" id="sec_key" value='<%=
udb.getSeckey() %>'/ >
   <input type="hidden" name="op_post" id="op_post" value="false" />

 </html:form>
						 
but i cann't run from any other system.
bcus this url for bank transaction so they are configure with 
our server machine to there server machine.i cann't access the url from any
other system.
so only way i have to call the url from server side.

i tried like this.

 <action  path="/redirectparam" type="com.hmh.action.RedirectParamAction"
        name="redirectparamForm
        input="/redirectparam.jsp"
        validate="false"
        scope="request">        
        <forward name="success" 
path="http://168.183.169.195/Payment/eNetMainAPI.aspx" redirect="true"/>
     </action>
	 
	 this is also not going with parameters.
	 
	 please give any feasible solution.


 					 
-- 
View this message in context: http://old.nabble.com/forward-request-url-from-server-side-tp30339054p30339054.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org