You can have the servlet output an html page that loads your gwt app (that
is, it load the yourApp.nocache.js)
http://code.google.com/intl/pt-BR/webtoolkit/articles/dynamic_host_page.html#servlet

On Mon, Jul 11, 2011 at 1:38 AM, Sethu <[email protected]> wrote:

> Hi,
>
> I am little confused, the subject does not describe correctly what I
> need to do. Here's the thing:
>
> I have a GWT application which I need to integrate with a third party
> payment gateway. To make this work, I need to make my GWT application
> send a few parameters via a form and post it to a URL that the payment
> gateway has given me. That's easy to do, I create a FormPanel and
> created all the inputs and the hidden fields that are required and I
> can submit to the URL.
>
> The problem is the redirect URL. After the payment gateway process
> completes, it will redirect the user to my GWT application. I thought
> I'll create a servlet to receive the response. I can handle the
> response, make updates to my database.
>
> But now how do I transfer the control back to the GWT client module to
> show the user what has happened?
>
> I need to say it was successful or not and whether an email was sent
> or not extra. Also I need to share a serial ID with them. That's what
> they purchase actually.
>
> Could someone tell me if this the right way of doing this? Or should
> the redirect URL be handled by the client modules first and then from
> there I should route via RPC to a RemoteService? In that case, how do
> I send all the other stuff the payment gateway has sent to me in the
> request?
>
> Thanks
> Sethu
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 
Magno Machado Paulo
http://blog.magnomachado.com.br
http://code.google.com/p/emballo/

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to