aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Overwrite HttpResponse from uncontrollable site" Watch "Overwrite HttpResponse from uncontrollable site" New topic
Author

Overwrite HttpResponse from uncontrollable site

san jan
Greenhorn

Joined: Sep 26, 2000
Posts: 24
hi,
I want to submit a form to some url say "www.xyz.com/abc", 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.
-santu
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">
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Overwrite HttpResponse from uncontrollable site