nt: 31 August 2004 16:17
> To: Struts Users Mailing List
> Subject: Re: Submit to 3rd party URL after completing Action
>
>
> I'm currently trying to do something similar. Therefore I would like to
> share my thoughts:
>
> Relying on javascript for business critical funct
I'm currently trying to do something similar. Therefore I would like to
share my thoughts:
Relying on javascript for business critical functions (and if payment is
not a business critical function, what is?) is IMO NEVER a good idea,
because it is not fail-proof at all.
What only if the user ha
Many thanks to Bill and Partha for your suggestions.
I used the javascript (2nd) technique because I am currently more
familiar with it. It is now working. :)
Cheers
Richard
If you use redirect to the payment url, the data in the form is in the
session in your site and not the external sit
If you use redirect to the payment url, the data in the form is in the
session in your site and not the external site where it is needed. So
redirect or forward will not help.
Try splitting up this work-flow into two steps:
1. in the first one you write the action class and save the stuff int
You are only going to be able to redirect to an external URL. However,
when you redirect its a new request so the form data is lost. I would
use the Jakarta Commons HttpClient to do the posting.
Bill Siggelkow
Richard Aukland wrote:
Hi,
I have a form which must be sent to an external site for pa
5 matches
Mail list logo