Hi pacochin and all!
Ok this is the case. My gateway have their own results page (or "thanks you" page) in my server (outside of virtuemart), they don't want to change the results page directly to my checkout.example_results.php. So i must send the requested info from their page to the checkout.xxxx_Xx.php page. Their page use javascript (I'm not familiar with java), but i understand that their page request values from the gateway server, here is part of the code:
<HTML>
<HEAD>
<title> Results page </title>
</head>
<%@ page import="xxxxxxl.xxxxxxx.xxxxxx" %>
<body>
<%
boolean isValid = false;
String invoiceNumber = request.getParameter("invoiceNumber");
String confirmationNumber = request.getParameter("confirmationNumber");
String totalAmount = request.getParameter("totalAmount");
String extra = request.getParameter("extra");
String dsa = request.getParameter("dsa");
String tax = request.getParameter("tax");
out.println("Invoice number = " + invoiceNumber + "<BR>");
out.println("Confirmation number = " + confirmationNumber + "<BR>" );
out.println("Total = " + totalAmount + "<BR>" );
out.println("Extra = " + extra + "<BR>");
out.println("dsa = " + dsa + "<BR>" );
out.println("tax = " + tax );
out.println("<br>");
etc etc etc.... (The rest of the code just check for error code (in my case: total amount = 0 is a rejected transaction and a value different from 0 is an approved payment, and a print button)
Here is my problem, i need to send those values, to the checkout.xx.xx.php file in my shop (to update the order status, etc) i just don't know how write in java a function to send those values back to my shop. I guess that i can use a simple buttom, but how i POST those values?

The rest is very easy to understand thanks to pacochin tutorial and soeren documentation. I need a little advice from u guys!
