Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

post Form to another domain after validation?

Thread view: 
ddog - 22 Nov 2006 13:42 GMT
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!
Andrew Thompson - 22 Nov 2006 14:18 GMT
> 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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.