This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Servlets and the fly likes Overwrite HttpResponse from uncontrollable site Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Overwrite HttpResponse from uncontrollable site" Watch "Overwrite HttpResponse from uncontrollable site" New topic

Overwrite HttpResponse from uncontrollable site

san jan

Joined: Sep 26, 2000
Posts: 24
I want to submit a form to some url say "", now after i submit the form with all relevant and required details the form is submitted and the work is being done, and a response page is shown up from that site.
the actual problem is here, when i submit the form to a url on which i have no control, it sends me another response page, i want to overwrite this page with my own page saying "your work is done" i.e., i dont want that page of the uncontrollable site to comeup, but to have my own page instead.
Ronald Francis
Ranch Hand

Joined: Aug 02, 2001
Posts: 30
To hide the response from another server ,one way to go is:
Create a frameset with a hidden frame , and set the submit target to that form.
ie <form action= xxx target="myhiddenframe">
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Overwrite HttpResponse from uncontrollable site
It's not a secret anymore!