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 into database and then forward to a page where a hidden form is recreated using the same values as the first one, 2. in the "body onload" of this page, submit the form to the external url. Hope this helps. Regards, Partha ---------- From: Richard Aukland [SMTP:[EMAIL 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 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 opposed to struts html:form) then they recieve the data on my form no problem. But when I use struts and go through my action then all data is lost. Here is my mapping bit; <action input=".base.signup.step3" parameter="action" name="signupForm" path="/SubmitSignup3" type="uk.co.membershiponline.website.actions.SignupAction" validate="true"> <forward name="next" path="https://select.worldpay.com/wcc/purchase" redirect="true"/> <forward name="failure1" path=".base.signup.step1" redirect="false"/> <forward name="failure2" path=".base.signup.step2" redirect="false"/> <forward name="cancel" path=".base" redirect="false"/> <forward name="previous" path=".base.signup.step2" redirect="false"/> </action> It is the 'next' forward that goes to the 3rd party. I have tried setting redirect tru/false. Same problem. The form is in session scope. I think I am not understanding something about how this works. Any pointers gratefully received, Richard Richard Aukland 49 Ravensmere, Beccles, Suffolk, UK. NR34 9BE Tel/Fax. +44(0)1502 470162 Cell. +44(0)7906 094578 mailto: [EMAIL PROTECTED] http://www.aukinfo.com ********************************************************************* Disclaimer: The information in this e-mail and any attachments is confidential / privileged. It is intended solely for the addressee or addressees. If you are not the addressee indicated in this message, you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. ********************************************************************* --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]