RE: Submit to 3rd party URL after completing Action

2004-08-31 Thread Daniel Perry
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

Re: Submit to 3rd party URL after completing Action

2004-08-31 Thread Christoph Kutzinski
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

RE: Submit to 3rd party URL after completing Action

2004-08-31 Thread Richard Aukland
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

RE: Submit to 3rd party URL after completing Action

2004-08-31 Thread Partha Ranjan Das
PROTECTED] Sent: Tuesday, August 31, 2004 5:38 PM To: [EMAIL PROTECTED] Subject: Submit to 3rd party URL after completing Action Hi, I have a form which must be sent to an external site for payment processing. But first I want to run it thro

Re: Submit to 3rd party URL after completing Action

2004-08-31 Thread Bill Siggelkow
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

Submit to 3rd party URL after completing Action

2004-08-31 Thread Richard Aukland
Hi, I have a form which must be sent to an external site for payment processing. But first I want to run it through my own action to insert the values in the database, and then forward to the 3rd party URL for payment. If I submit to the 3rd party directly from a JSP using an html form (ass oppos