Iframes and connectivity to other sites

Hi,
I have a task, which I am not 100% certain how to approach:
I have a jsp - report.jsp:
It has a form, and an <iframe>. The <iframe> is supposed to show certain screens from a different site, and which screens those are will depend on some parameters I POST to that site.
Meanwhile, I am not supposed to leave report.jsp - only what is displayed in the <iframe> should change, based on parameters chosen from the form on report.jsp.
The suggestion I got to solving this issue is to have my own jsp - iframe.jsp, and have the iframe point to it. Have that jsp submit another form to the site that is not mine.
I don't fully understand the following points:
1. How do I transfer parameters from the form in report.jsp, to iframe.jsp, without leaving report.jsp?
2. How will iframe.jsp submit those parameters to the other site?
Thanks.

Roman-S wrote:
Hi,
I have a task, which I am not 100% certain how to approach:
I have a jsp - report.jsp:
It has a form, and an <iframe>.No it doesnt - it generates a html which has a form and an <iframe>. Do not think I am nitpicking, because understanding the difference is essential to solving your problem and to working with j2ee web applications in general.
The <iframe> is supposed to show certain screens from a different site, and which screens those are will depend on some parameters I POST to that site.
Meanwhile, I am not supposed to leave report.jsp - only what is displayed in the <iframe> should change, based on parameters chosen from the form on > report.jsp.
Ajax. So when you change parameters on the form in the html, make an ajax request to the other site and fit back the output html from the response back into your html.
The suggestion I got to solving this issue is to have my own jsp - iframe.jsp, and have the iframe point to it. Have that jsp submit another form to the site that is > not mine.For that to happen, the html has to submit to iframe.jsp. It goes back to the point I made earlier, it's html on the browser, not jsp.
>
I don't fully understand the following points:
1. How do I transfer parameters from the form in report.jsp, to iframe.jsp, without leaving report.jsp?You could use ajax to do that. But then iframe.jsp makes a request to the other site, the response comes back to iframe.jsp and it streams back the response to the browser. No need for that actually - you can make the ajax request directly to the other site, there's no need for a proxy.
2. How will iframe.jsp submit those parameters to the other site?
Thanks.HttpURLConnection if you must.
cheers,
ram.

Similar Messages

  • I got my code but when i try downloading it it says retry as net connection is slow, but i am on a high spee broadband and all the other sites are opening simultaneously then why this problem?

    I got my code but when i try downloading it it says retry as net connection is slow, but i am on a high speed broadband and all the other sites are opening simultaneously then why this problem?

    Because Apple's not spent those billions of bucks lying around on a modern, high-speed delivery system or providing DVDs for those who don't have high-speed connections or uncapped DL capabilities.

  • Why am I getting an alert saying the connection to my hotmail has been reset when I can connect to other sites?

    I get an alert banner saying my connection has been reset. This only happens when I try to connect to hotmail. It works fine when I connect to other sites, including this one. This is a new problem and I have not experienced it before, even though I have had problems with broadband connections. There are unusaul movements on my hotmail like when I delete messages and clear the delete folder, the deleted messages reappear when I reopen my hotmail. I have also had messages missing and reappearing even though they are from several year ago. The new problem with the alert message started about 10 minutes ago. I was able to access my hotmail via Safari but I get the alert message everytime I try with firefox.

    Hi ...
    Try here > Mac App Store: "An unknown error occurred (100)" when purchasing
    If that doesn't help, drag the App Store icon straight up off your Dock so it goes, "poof".
    Now drag the App Store icon from your Applications folder to the Dock. Try updating your apps.

  • The promotion between paypal and foxfire is preventing me from connecting to other sites. I do not have a paypal account and therefore does not need this information--can it be removed so my educations sites can load up

    I have tried to lead into certain accounts to make credit car payments and connect with my school and since this promotion has been going on my computer stops and a message stating waiting for fedoraproject.org to load. Everything stops and the pages never load up. can this be removed or how can I avoid it.
    Thank you Ava

    I've got to agree with Allan. It sounds like the hard drive is corrupt at least. It's possible it might be physically failing. Without backups, it's possible your data is already gone. You need a professional to help you.
    If you do not have an Apple Store near you or simply don't have the time to spare, there are some things you can try, but you must understand that it's possible these things could make the chances of recovering your data worse than they already are. Perform the instructions to follow at your own risk!
    First, you can try repairing your hard drive with Disk Utility. If that works, see if you can start up the machine. If you can, the very first thing you need to do is back up any data you don't want to lose. You may still need to take other steps, as your system may be damaged as well, but getting the data is the important part.
    If Disk Utility cannot repair the problems, you can try DiskWarrior. It can repair problems that Disk Utility cannot. However, it also increases the risk of destroying your data if it fails. If it works and you can start up the machine, do the same as I advised for following success with Disk Utility.
    If repairs (with either) were successful, but the machine still won't start up, you can try reinstalling the system. Hold down command-R at startup and then just install right on top of the existing system. If all goes well, you'll be able to start up afterwards and can get your data backed up. If all goes badly, it'll further decrease the chances of getting your data back.
    If neither can repair the damage, you're in bad shape. You will need a professional to help you, unless you are willing to lose all your data.

  • Since update 3.6.16 I crash in both my tele2 and compuserve webmail, other sites OK

    Hi,
    I work on a Macbook MacOS 10.6.7
    I updated today to 3.6.16. At the same time the message came to update to Adobe flash player, which I did also.
    Since then, Firefox crashes when I go to my webmails (Tele2 and Compuserve). It happens when I click an email in the list to open it.
    Firefox dissappears and a error message appears which is sent to Apple (NOT to Firefox, it seems). This message gives the choice to stop or to open Firefox again.
    I tried both and also start up again Firefox. This results in the same:
    Firefox opens with a message, or rather a choice/question: would I like to a) repair the last session, b) start the session anew, or c) delete the session.
    I tried all these, but again they give the same result, namely that the same crash happens (in webmails above).
    After a few (a lot) of trying the crash happens already upon entering the webmailservers.
    I tried browsing other sites in Firefox (a.o. Jamendo, Mutant Sounds, LinkedIn) and they seem to work normal.
    I also tried another browser (Safari) and here I can reach my Tele2 and Compuserve webmails without a problem.
    I hope you can help me to work normal in Firefox again. I tried to find the crash ID, but I cannot find the location bar.
    Yrs,
    Renadi Santoso
    Amsterdam
    MacOS 10.6.7

    You probably can do that.<br />
    If you keep the wrong language then remove the offending language pack from the chrome folder in the Firefox program folder.
    You may need to (re)set the pref "general.useragent.locale" to the preferred language ("en-US") on the about:config page.<br />
    You can open the about:config page via the location bar, like you open a web site.<br />
    Use the Filter bar at the top of that page to quickly locate the pref.

  • After installing Firefox 13, there's been a change in fonts in my AOL email inbox, and in several other sites: how do I fix this?

    What used to be Arial is now Courier bold.

    Do you set Firefox to override the fonts used in the page?
    This might have been suggested in another thread, but just in case: When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    Save any work you're doing in your email first, then:
    1. Clear Firefox's Cache
    Firefox > Preferences > Advanced Network mini-tab
    Under Offline Storage, click "Clear Now". This might take a couple of minutes if you have a large hard drive.
    2. If needed, delete the AOL cookies here
    While viewing a page on the site, Tools > Page Info > Security > "View Cookies"
    Then try reloading the page. Does that help?

  • Cannot download from Gamehouse and Logler all other sites are ok

    All other game sites except Gamehouse and Logler download ok. When I try to download these sites it goes to DAP and message is installer/stub. Window shows the download has finished but cannot open file.

    Have you thought about DAP support? DAP is taking over downloads from Firefox, which makes it not a Firefox support issue. I used DAP for a short time 6 or 7 years ago and can't rememeber enough about it to try to help you figure out what might be wrong.

  • Safari and myspace/facebook/other sites. huge problems- Help

    So safari does not load pictures on myspace/facebook well. If a page is full of pictures it takes literally like a half hour to make them all come up. and if they dont, its the little infamous question mark
    whats with this?!
    I'm running safari beta now but I still have the problem
    It's bothering me and making me have OCD. help!
    Thanks

    Hi ..
    Might be a cookies, cache, or extensions issue.
    From your Safari menu bar click Safari > Preferences then select the Privacy tab.
    Click:  Remove All Website Data
    Then delete the cache.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.
    If that doesn't help, troubleshoot Safari extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.

  • Iframe  and  url  for other web system

    hi ,all
    when i open url http://172.20.34.81:9704/analytics/saw.dll?Go&Path=/shared/mayl/agent_project/analytic/ana_agentRanking&NQUser=liqq&NQPassword=weblogic1 ,is OK.
    but when i embed the url to a iframe in html ,that will request me sign on .why ,how can i do ??
    thanks !!
    Edited by: user11224556 on 2011-4-17 下午10:44

    anybody know this question??

  • For the last 2 days whenever I open to MY MSN it opens in safe mode. I cleared FF history and cookies. all other sites open okay. Vista os, 64bit.

    vista 64 bit OS

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. <br>
    '''Note''': ''This will cause you to lose any Extensions and some Preferences.''
    *Open websites will not be saved in Firefox versions lower than 25.
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    If this solution does not work try reinstalling.
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!
    Thank you.

  • HELP: can connect to FB, TWITTER, MySPACE, BBM and other instant messaging but not to youtube and other sites

    I'm just a newbie. I got my Curve 9220 a month ago. The phone is really good but i have some problems regarding my about phone. You see i can access my social sites and application and can be done in my web browser but strangely i can't connect to other sites except those mentioned sites. I can use my bbm and some instant messaging applications (YM, Gtalk etc) but unfortunately not my bb app world. 
     By the way my carrier is globe, I have called them about this matter, they told me they have fix it but until now nothing happens. It's frustrating you know?
     Is there a way that I could do it manually by my self? Or should I call them again until they have got my problem fixed?
     Additionally, its odd because I can't even go to thier mobile website. How this could happen when I'm not restricted to access my social site?

    In addition to this, I can send and receive emails.. hope you can help me.

  • Create a new site collection in different farm and connect to different content database from decommissioned farm

    I wish to bring down a SharePoint farm1 and create a new site collection in an existing farm2 and connect the new site collection in farm2 to the content db in farm1.
    Is this possible and how should I do it?

    it is possible to copy/move a content database from one farm to another... so long as the NEW farm is at least as up-to-date (version/service packs/updates/hotfixes/etc) as the OLD farm.
    you can move a site collection into its own content database.
    hopefully that answers your question.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Site could not be crawled and connect in server

    I have multiple web applications/sites on this server/farm. I cannot crawl one site. I got the error message in the crawl log as below after performing the Full Crawl:
    “This item could not be crawled because the repository did not respond within the specified timeout period. Try to crawl the repository at a later time, or increase the timeout value on the Proxy and Timeout page in search administration.
    You might also want to crawl this repository during off-peak usage times.”
    I have followed the suggestion on the web do the following
    (1)    
    Select the "Ignore SSL errors" on the Farm Search Administration page.
    (2)    
    No Proxy server. I did increase the Time-out to 120.
    (3)    
    Internet Options>Connections>LAN settings. Uncheck ‘Automatically detect settings’.
    (4)    
    DisableLoopbackCheck in the registry
    After the above changes, I still get the same problem.
     Although the service account has full access to anything, I cannot connect this web site via IE from the server (while I can connect to other sites). The only different is SSL is applied to this site. I will appreciate if someone can help
    me out.

    Hi,
    According to your post, my understanding is that you get an error message in the crawl log  after performing the Full Crawl.
    I recommend that you can try to check and test the following things in your environment.
      1.  The first investigation should be to check if you can login to the page via your Brower or with Telnet.
        Open a Command Prompt and hit Telnet gokanx.wordpress.extranet:80. I received a “connection failed” on my black box. This was meaning that your couldn’t reach your site from your internal server.
    http://gokanx.wordpress.com/2013/06/19/how-to-bypass-the-firewall-tmg-and-proxy-during-a-content-crawl-in-sharepoint-publishing-farm/
      2.  Go to SharePoint 2013 Central Administration, click “Search Service Application” in “Manage service application”, click the “Index Reset” to reset all crawled content, then start Full Crawl again.
    Opening IE with Search Service Account on Service and try to open the Sites to crawl.
    https://social.technet.microsoft.com/Forums/en-US/0e1f7601-b4b3-446a-9eab-ed6c79faa8e2/sharepoint-search-crawl-not-working-this-item-could-not-be-crawled-because-the-repository-did-not?forum=sharepointadminprevious
      3.  In Command prompt run “netsh winhttp show proxy”. If you see there is a proxy server, which can be old or not working, we need to reset this setting.
      Run the command “netsh winhttp reset proxy” to Reset the proxy and again do a Show command, you should get “No Proxy Server” screen.
      In Order these are the steps.
      a. netsh winhttp show proxy
      b. netsh winhttp reset proxy
      c. Net stop Osearch
      d. Net start Osearch
    You can also check if there are any Proxy Settings in IE Configuration, try to remove the Proxy Settings configured in the IE.
    http://sharepoint-works.blogspot.com/2012/10/this-item-could-not-be-crawled-because.html
    http://sharepointmadeeasy.blogspot.com/2012/07/search-crawl-time-out-or-proxy-issue.html
      4.  Try to import the certificate to the Certificate store of the crawler (and the SharePoint Cert Store [Central Admin > Security > Manage Trust and upload the root certifcate of the repository])
    http://sharepoint.stackexchange.com/questions/58946/could-not-establish-trust-relationship-for-the-ssl-tls-secure-channel
      5.  Add the following rules to the proxy bypass list and reboot the servers.  To do this run command prompt as an admin and use the following command:
    netsh winhttp set proxy xxx.xxx.xxx.xxx:portnumber bypass-list=”<local>,sharepoint”
    http://andrewroth1.wordpress.com/2012/09/11/sharepoint-2010-search-service-local-sharepoint-sites-cannot-be-crawled-error/
    If this issue still exists, you can check the ULS log to find more information about this issue.
    For SharePoint 2013, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS.
    Thanks,
    Yumi Fu
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected].

  • Problems with flash content (MySpace and other sites)

    For the past few months I have been unable to view any media content on MySpace (videos, music) and a couple other sites. This is a real annoyance as I am a music reviewer and I can't listen to much of the music people want me to check out since it's usually on MySpace.
    I've tried uninstalling Flash Player and reinstalling it. I also uninstalled and reinstalled Shockwave. Nothing works. I'm using Firefox 3.0.10 but it also fails to work on Safari. Works fine when I view the site on a PC.
    I keep searching for answers and coming up with nothing but "Install the latest Flash Player" which I have...

    I've tried uninstalling Flash Player and reinstalling it. I also uninstalled and reinstalled Shockwave.
    Did you repair permissions and restart your computer afterwards? Make sure you have installed Flip4Mac, VLC Media Player and Perian.
    Also, make sure you are using the latest version of Quicktime as well as Flash Player and Shockwave.

  • Can I prevent av AirPort Extreme from "discovering" and connecting other Airport devices on the same network ?

    Can I prevent an AirPort Extreme from "discovering " and connecting to other Airport devices on the same network ?

    Not sure I understand your question.
    What is the AirPort Extreme doing now that you don't want it to do? What does it "discover"?  How is it connecting other devices on the same network?

Maybe you are looking for