Changing Client Browser URL

How can I change the client browser URL after a request ?
Example:
Browser => HTTP/POST to "www.google.com" with the keywords included in the form
Browser <= receive the response of the "www.google.com" but the url in the browser now contains "http://www.google.be/search?q=test&ie=UTF-8&oe=UTF-8&hl=nl&meta=".
Thanks in advance,
Geof

In your example, Google.com does a redirect to that URL. You can do that like so:response.sendRedirect(response.encodeRedirectURL(newURL));If you are using level 2.2 or later of servlets, newURL can contain a URL relative to the current one, otherwise it has to be a full URL.

Similar Messages

  • I changed my browser url to blank now I cannot find bookmarks or menu toolbar, pls can someone tell me how to restore to original url setting?

    I tried to remove thumbnails from Firefox & following online advice went to browser.newtab.url and changed it to "blank", now when I open Firefox the menu bar with bookmarks etc is missing, but when I open a new tab the thumbnail images are still there, I don't have much experience & would appreciate advice as to how to restore. I tried restoring computer to earlier time but that didn't not restore the browser url to the state before I started messing with it. Please help!

    Make sure that you do not run Firefox in full screen mode (press F11 or Fn + F11 to toggle; Mac: Command+Shift+F).
    *https://support.mozilla.org/kb/how-to-use-full-screen
    If you are in full screen mode then hover the mouse to the top of the screen to make the Navigation Toolbar and Tab bar appear.<br>Click the Maximize button (top right corner of the Navigation Toolbar) to leave full screen mode or right-click empty space on a toolbar and choose "Exit Full Screen Mode" or press the F11 key.
    You can use one of these to set which toolbars to show.
    *"3-bar" Firefox menu button > Customize > Show/Hide Toolbars
    *View > Toolbars<br>Tap the Alt key or press F10 to show the Menu Bar
    *Right-click empty toolbar area
    What is the current value of the browser.newtab.url pref?
    If you do not keep changes after a restart or otherwise have problems with preferences, see:
    *http://kb.mozillazine.org/Preferences_not_saved
    You can create a new Boolean pref on the about:config page to prevent Firefox from generating thumbnails for the about:newtab page.
    *name: browser.pagethumbnails.capturing_disabled with value: true
    Delete the thumbnails folder in the Firefox profile folder to remove already stored web page thumbnails.

  • When I try to change the keyword.url settings in about:config to do a "I'm Felling Lucky" Google search, it just resets to chrome://browser-region/locale/region.properties whenever I restart Firefox.

    I just installed Firefox 4 today. When I try to change the keyword.url settings in about:config to do a "I'm Felling Lucky" Google search, it just resets to chrome://browser-region/locale/region.properties whenever I restart Firefox.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    See also:
    * http://kb.mozillazine.org/Preferences_not_saved

  • URL iviews are not cached in client browser!!!

    Hi All,
    We have URL ivews of ASP.NET pages in our Portal Home page.
    Those ASP.NET pages are located in MS Windows Server (IIS).
    It takes long time to load the Portal Home page.
    We set the Allow Client-Side Caching - Yes, Cache Level - Shared, Cache
    Validtiy Period: 7.59.59 for all URL iviews.
    For the Home page which contains all URL iviews Isolation Method
    property is set to Embedded.
    We set "Enable Content Expiration" - 8 Hours for the "Root - virtual
    directory" in IIS.
    When I browse those pages with the URL directly in IE (outside Portal).
    It runs faster and returns with HTTP status code "cached".
    All the pages including HTML are cached in client browser.
    When I logged into portal all images, css and javascript files are
    cached in the client browser but not the HTML content. It returns with
    HTTP status code 200 whick means URL iviews are not cached in client browser.
    Thanks
    Thruna Shanmuga

    Hi Thruna,
    The only header which influences caching behaviour in your request is the 'Cache-Control: private' header, which afaik means that the page cannot be cached by a shared cache (such as a web proxy), but can be cached in a personal proxy such as the browser cache.
    However the headers do not specify a specific expiration date which means that the browser cannot know how long the response can be cached and thus has to check validity every browser session. The most optimistic scenario would be that the browser checks if the cached entry is still valid by requesting the resource and adding a If-Modified-Since or If-None-Match header. The server could then respond with a 304 Not Modified, skipping sending the actual resource in the response body.
    If you want the resource to be fully cached you have to give it an expiration date in the future. This has to be done in the IIS server, maybe through ASP tags in the page.
    I do not know why the page is loading from cache in the non-portal scenario but I can only suggest that you make absolutely sure the cache item was not validated already in the session.
    With kind regards,
    Thijs Janssen

  • Podcast is having issues since I changed the feed url

    Ever since I changed the feed url for my podcast in itunes I have problems with the feed not working properly.
    http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=157571623
    When I try to download random files or episodes in this podcast it wont download in itunes. I get an error code (-50) saying it could be a network problem. But if I go to the direct feed url which is this in safari browser. I can click on the mp3 link and it plays just fine. Then after doing that I can go back into itunes and click "get" on the exact same file that wasnt downloading earlier and now it downloads. Very odd. Once that is done all files in itunes download without any problems. I thought it was just something wrong with my itunes. But it only happens for my feed when I subscribe to it. I tried it on my windows system in itunes and having the exact same problem. I called a couple people up and its happeing with them in itunes also. When one of us accesses the feed by way other than itunes it will then work for awhile then go back to not working again. It started happening when I changed the url in itunes to have it point to the feedburner url. Im having the issue right now as a matter of fact. I cant even listen to the preview of each episode. Maybe someone can try the itunes feed and check it out for me. Any ideas?
    Its frustrating. Im wondering if I need to just submit a new podcast to itunes.
    PS: I posted this in itunes for windows, Im using both mac and windows. Its not specific to either OS.

    Im pretty sure the problem has been resolve. We own both the .org and the .com extensions of our website. The primary being the .org and a redirect if a user goes to the .com address. I use feeder to create the podcast feeds and it has an autofill feature in it. Somewhere along the line on the enclosures I inputed the .com address instead of .org. Why the redirect works just fine in most feed readers. Apparently itunes doesnt support it. One of the users in the feedburner forum picked up on this. I corrected all the enclosure urls to .org as they should be and everything so far works fine.

  • How to show a nice URL in Browser URL navigator?

    How to show a nice URL in Browser URL navigator?
    Hello
    Arquitecture:
    Internet --- Machine1 (Apache like Proxy Reverse and rewrite) --- MAchine2 (GLASSFISH-APEX LISTENER 2.0.1) --- DATABASE
    That application will be like a directory of products, we need a nice indexation inside google, yahoo, etc...
    We want to build an application with APEX, with a nice custom URL. like http:\\domain\pagina1\pagina2\pagina3
    Limitations:
    * We can not use frame
    Actually, We obtained that when we write in a browsers URL domain "the domain" redirect to "http://domain/apex/f?p=600", and that appear in "browser url" but we want to know if is posible to change that without use frames.
    Thanks.

    Interesting Morten states that "You can use Apache with mod_rewrite to set up mapping between REST-style URLs to your Apex pages...", I've seen no working examples of how to do this with Apache because mod_rewrite is very limited in it's ability to process the query string part of the URL, with all the APEX stuff we need to refer to.
    Morten if you are reading this, what's the secret man?

  • Changing Internal & External URLs?

    We run split DNS so right now for all services the internal and external Exchange 2010 URLs are simply set to mail.domain1.com.
    If I change them to mail.domain2.net, assuming there is a valid cert on the Exchange box for mail.domain2.net, and assuming that split DNS points mail.domain2.net to the internal/external IP of the Exchange box, new clients should pick up the new domain.
    What happens to existing clients i.e. Outlook and ActiveSync?
    Will they continue to use mail.domain1.com until the account is removed and added again, or do they do a periodic refresh/update/poll of which setting to use?
    In particular would the URL used by Outlook Anywhere be updated on the client automatically?
    This topic first appeared in the Spiceworks Community

    Hi,
    For the migration from the Exchange 2007 to Exchange 2013, we need change the external URLs with the new Exchange 2007 host name legacy.domain.com and migrate all mailboxes including public folders.
    For more information about the migration, you can refer to the following articles:
    http://blogs.technet.com/b/meamcs/archive/2013/07/25/part-3-step-by-step-exchange-2007-to-2013-migration.aspx
    http://blogs.technet.com/b/meamcs/archive/2013/07/25/part-4-step-by-step-exchange-2007-to-2013-migration.aspx
    If you have any question, please feel free to let me know.
    Thanks,
    Angela Shi
    TechNet Community Support

  • Browser URL 127.0.0.1?

    Hi,
    we will take a look to the Service Desk virt. Appliance.
    But after first install i got the hint on Appliance Managment Screen, the Browser URL for Service Desk is 127.0.0.1?
    Where can i change it to the correct URL/IP?
    Thx
    Thomas

    Sorry, my Mistake.
    I can open the URL: with correct IP after a System Reboot und waiting a few Seconds.....

  • Update a browser URL without reloading the page

    Is there any way to update the browser url from flash without
    reloading the page?
    My main interest is in being able to use flash to change the
    url variables to reflect what is currently being displayed in the
    swf.
    ie.
    http://www.blah.com?frame=0 might be set to
    http://www.blah.com?frame=10 when the swf reaches frame 10,
    allowing the user to go directly to frame 10 if they return to the
    page later.
    Thanks
    Rick

    You can try a technique that is used by web designers to
    prevent back button actions. Through JavaScript you can write
    strings after hash "#" - like bookmarking (anchors) and then read
    this variables. The advantage is that page doesn't reload and
    bookmarks are saved in the browser history (back button issues).
    Hope it helps.

  • Getting browser URL from form

    Dears,
    I'm running some forms 10gr2, I would like to get the browser URL inside my form. How could I do something like this?
    Thanks in advance.

    Also with PJC bean is possible..
    http://peterv6i.blogspot.com/2012/04/reading-applet-parameters-in-oracle.html
    or
    package in2.client;
    import java.io.PrintStream;
    import java.net.InetAddress;
    import oracle.forms.handler.IHandler;
    import oracle.forms.properties.ID;
    import oracle.forms.ui.VBean;
    public class ClientInfo extends VBean
      private static final ID CLIENT_IP = ID.registerProperty("CLIENT_IP");
      private static final ID CLIENT_NAME = ID.registerProperty("CLIENT_NAME");
      private static final ID CLIENT_OS = ID.registerProperty("CLIENT_OS");
      private static final ID CLIENT_USER = ID.registerProperty("CLIENT_USER");
      private static final ID HOST_URL = ID.registerProperty("HOST_URL");
      private IHandler mHandler;
      private String hostAddress = "";
      private String hostName = "";
      private String hostOs = "";
      private String hostUser = "";
      private String hostURL = "";
      public ClientInfo()
        try
          System.out.println("+----------------------+");
          System.out.println("+  ClientInfro PJC     +");
          System.out.println("+  Peter Valencic      +");
          System.out.println("+----------------------+\n");
          this.hostAddress = InetAddress.getLocalHost().getHostAddress();
          this.hostName    = InetAddress.getLocalHost().getHostName();
          this.hostOs      = System.getProperty("os.name");
          this.hostUser    = System.getProperty("user.name");
          System.out.println("Host   adress: " + this.hostAddress);
          System.out.println("Host     name: " + this.hostAddress);
          System.out.println("Host op. syst: " + this.hostOs);
          System.out.println("Host username: " + this.hostUser);
          System.out.println("+----------------------+\n");
        catch (Exception e)
          System.out.println("Init error: " + e.toString());
      public void init(IHandler handler)
        super.init(handler);
        this.mHandler = handler;
      public Object getProperty(ID pid)
        if (pid == CLIENT_IP) {
          System.out.println("Client IP: " + this.hostAddress);
          return "" + this.hostAddress;
        if (pid == CLIENT_NAME) {
          System.out.println("Client Name: " + this.hostName);
          return "" + this.hostName;
        if (pid == CLIENT_OS) {
          System.out.println("Client os: " + this.hostOs);
          return "" + this.hostOs;
        if (pid == CLIENT_USER) {
          System.out.println("Clientuser: " + this.hostUser);
          return "" + this.hostUser;
        if (pid == HOST_URL) {
          hostURL = this.mHandler.getApplet().getDocumentBase();
          System.out.println("Host Url: " + this.hostURL);
          return "" + this.hostURL;
        return super.getProperty(pid);
    }

  • I don't know where and how to change my browser's settings to allow POP-UPS??? Help!!!

    Help!!! I need to change my browser's settings to allow POP-UPS from the AT&T website so a new window can appear so I can do the tests. Help!!! This is time sensitive!!! :)

    Hi,
    If you go to the AT&T site and then tap the icon to the left of the URL/location bar, you can select 'Clear Site Preferences' to allow popups.
    Thanks,
    Michelle

  • How Client Browser Understand Server response

    Hi Experts,
    Iam new to java advance Technology. I hava a simple doubt, that "How Client Browser Understand Server response".
    suppose if u open multiple Browsers and u typing same URL in all browser window(www.rediffmail.com). The server will generate response for requested resources. I dont no how the response will received by client browser without any conflit.
    I need to know, whether the browser attach any ID to requested URL (or) any other machanism which helps the identification.
    plz reply with example
    Thank u

    Hi praks_it,
    "How Client Browser Understand Server response".
    I dont no how the response will received by client browser without any conflit.
    I need to know, whether the browser attach any ID to requested URL (or) any other machanism which helps the identification.
    The answers to all the above of ur questions is the HTTP (Hyper Text Transfer Protocol).
    It is a mechanism developed and documented by the W3C (World Wide Web Consortium) which specifies all needs for internet and browsers.
    Check out the following links and u'll gain more on the subject :
    1) http://www.google.co.in/search?hl=en&lr=&oi=defmore&q=define:HTTP
    2) http://www.w3.org/Protocols/rfc2616/rfc2616.html (recommended).
    Hope this helps.
    Cheers !!
    Sherbir

  • Returning a html status code to the client browser

    Hi,
    Can anyone help me with a problem that I am have with regard to returning a html status code of NO_CONTENT to the client browser?
    The Problem:
    Basically I have a html form with a SAVE button. When the user clicks the SAVE button the data in the form is sent to the web server which then saves it in a database and the same populated form is then sent back to the client. From the users point of view they click the SAVE button and the screen is refreshed with the same data. The problem with this is that the data only needs to be SENT to be saved but not necessarily resent back to the client browser from the server i.e. from a user's point of view I don't want the screen to refresh by disappearing and then coming back again. There is a lot of data in the form so this refresh can take a considerable amount of time as the html can take a while to download.
    The Potential Solution:
    What I want to do is send the data to the server where it will be saved in the database and then return a html status code of NO_CONTENT to the browser (always Internet Explorer) so that the page doen't get refreshed / downloaded unnecessarily. I've implemented this and the save can now take as little as 10% of the time it used to take because the data is only sent and not received again.
    The problem with the potential solution:
    It works fine most of the time but not all of the time. We tested this change and it worked great but when we released it live it didn't work for some people. For most people you can see the status bar at the bottom of IE zip along as the data is sent to the server so you can see when it has finished or received the status code back. For the people it didn't work for they would get an almost full status bar at the bottom but the blue would never quite disappear to indicate that it was finished. It was as if it was sending the data from the server but not getting a response at all when it should have been getting the NO_CONTENT status code.
    The Code:
    I'm using Struts so the line of code I had originally used after the data had been saved to the database was:
         return (mapping.findForward("timesheet"));
    I changed this line of code to:
         response.setStatus(response.SC_NO_CONTENT);
         response.flushBuffer();
         return null;
    Can anyone see what the problem is here? Are the new lines of code not guaranteeing that the response is being sent back to the client? Is there a better way to simply return a status code when you don't want return a JSP page?
    Any help would be greatly appreciated.
    rgds,
    Dave

    I see what you mean now. It's a very good idea but it wouldn't really work for this application. I've taken out the ability to use "back" functionality on this screen. It is launched through javascript so that the window itself has no toolbar and also the page is set to expire so that if you do go "back" to it, you are forced to refresh the page so that it is guaranteed to have the same data as is on the server. This is needed to stop problems with other functionality of the application.
    Thanks for the suggestion though.
    Does anyone know why this code only works most but not all of the time?:
    response.setStatus(response.SC_NO_CONTENT);
    response.flushBuffer();

  • IP Address of the client/browser

    In my WDA application I need to find out the IP address of the client/browser.
    Is this available somewhere (attribute / method of the component controller?)??
    Thanks,
    Brad

    Hi Brad,
    Go to webdynpro application, of the created webdynpro component, there u find the URL ,the  host name.
    after that add that hostname in c:
    windowssystem32\drivers\etc\hosts file.
    for eg: 10.10.30.20   localhost
    The ip adrress, will be either local host (if server installed in same system) or the ip adrress of the installed server system.
    Cheers,
    Mary

  • When I upgraded from v4 to v5 my bookmarks was lost. I do have the one that is in the firefox toolbar. Apparently I had a bookmarks add-on. V5 changed my browser how can I determine what the program was and if the bookmarks are still there?

    When I upgraded from v4 to v5 my bookmarks was lost. I do have the one that is in the firefox toolbar. Apparently I had a bookmarks add-on. V5 changed my browser how can I determine what the program was and if the bookmarks are still there?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Websites remembering you and automatically log you in is stored in a cookie.
    *Create an allow Cookie Exception to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    *Tools > Options > Privacy > Cookies: Exceptions
    In case you are using "Clear history when Firefox closes":
    *do not clear Cookies
    *do not clear Site Preferences
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
    Clearing cookies will remove all specified (selected) cookies including cookies that have an allow exception and cookies from plugins.

Maybe you are looking for

  • Report for pulling out data of Pricing Ref. Material

    Hi All, I want to know the transaction or report which can pull out the data of pricing ref. material used for any material in Sales Org .2 view. I mean to say that, if there are 100 materials created and 50 of them have a pricing material field popu

  • Region wise credit limit

    How to give credit limit as per the region? Edited by: Lakshmipathi on Oct 31, 2011 10:18 PM Please AVOID adding such comments in subject and use it effectively

  • Change status of Follow-Up with an action profile

    Hi, I would like to create an action profile for the following function: After creating an opportunity with a Follow-UP (quotation), I would like to change the status of the quotation if the opportunity is saved. Is there any BADI which provides such

  • Irritating clone stamp in CS4.

    Can someone please tell me how to turn off the mirroring aspect of the clone stamp in CS4 & return it to the way it worked in CS3 without magnifying & showing unfamiliar content? Very many thanks for any help! Rob

  • Website template download working intermittently. Why?

    Hi Guy's, I have just downloaded a website from a Serif based website template company - http://seriftemplates.com/parallax-demo.html. This is a demo and I have not launched the site myself as it is not quite complete. The navigation in the demo work