post Form to another domain after validation?

D

ddog

I have the following problem:
I have been given a form by the Other Company to insert into our
company's website. After the form has been submitted and validated it
needs to be posted to the Other Company's site. Our company uses Java
and jsp pages, the Other Company uses Cold Fusion.


This is the example of the form I was given by the Other Company:
< form name="quick_search_form"
action="http://www.othercompany.com/search_router.cfm" method="post" >

The form is validated, either through JavaScript or via Java server
side. I've worked out the server-side validation and I"m using
response.sendRedirect("success.jsp") for a successful validation test.
Obviously, the sendRedirect or something similar needs to be used to
send the form to the Other Companys
site upon successful validation.

My question is this: how can I re-post the form after it passes
validation to the Other Company's site? Is this possible or is my idea
totally wrong? I could use JavaScript to do it all but I'd rather not
if possible.

Thanks!
 
A

Andrew Thompson

ddog said:
I have the following problem:
I have been given a form by the Other Company to insert into our
company's website. After the form has been submitted and validated it
needs to be posted to the Other Company's site.

Wow - so Other Company is going to allow Our Company(s)
to f*ck up* their form so that it can post 20Meg to their
site, repeatedly & in quick succession (when some
moron takes a dislike to 'Our Company(s)' and decides
to take retaliatory action)?

That is either very brave, or very foolish, of Other Company.

* These things happen occasionally, by accident, if not malice.

Andrew T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,270
Messages
2,571,102
Members
48,773
Latest member
Kaybee

Latest Threads

Top