Results 1 to 2 of 2
  1. #1
    ragavendran is offline Member
    Join Date
    Nov 2010
    Posts
    1
    Rep Power
    0

    Default 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.

  2. #2
    peace76 is offline Member
    Join Date
    Apr 2010
    Posts
    18
    Rep Power
    0

Similar Threads

  1. Problem on server side (Socket Programming)
    By ersachinjain in forum Networking
    Replies: 9
    Last Post: 05-06-2010, 05:21 PM
  2. how to countdown on server side
    By BigBear in forum Java Servlet
    Replies: 3
    Last Post: 04-26-2010, 11:33 PM
  3. Replies: 1
    Last Post: 03-20-2010, 08:03 PM
  4. NIO Server: listening on client's side socket
    By carek in forum Networking
    Replies: 1
    Last Post: 12-24-2009, 08:30 AM
  5. Need to change cursor to hourglass at server side
    By bgupta in forum Java Servlet
    Replies: 0
    Last Post: 02-16-2009, 08:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •