Redirecting using a new browser tab or window

How does one send a redirect response to a new window or tab of a browser?
Currently forwarding to a new URL with AOL function in a controller class using pageContext.sendRedirect("Initialize.jsp?queryString1="value"&OAFunc=UI...")

Unless I'm missing something that's not what I'm looking for. I know how to open a pdf using Reader. I'm talking about opening a pdf directly off of a website to open in reader and not in Chrome. There used to be a box in edit>preferences that you could check/uncheck if you wanted to open the file in the browser or not.
This solution I believe is File>Open then select the pdf I'd want to view.

Similar Messages

  • On Firefox 4, the back button does not work on a new browsing tab or window.

    Ever since I installed Firefox 4, I have noticed a problem that was not present with the previous version of Firefox. Whenever I open up Firefox and enter in a new web address, I cannot use the back arrow to go back to my original homepage; the arrow is ghosted out. The same problem exists when I open up a new browsing tab. Let me explain with an example. I open up my browser, and then I open a new tab (now there are two tabs open). In the new tab I type www.espn.com. Then I click on a link on espn.com. Say then I want to go back to the espn.com homepage that I just previously visited. I can't do it by clicking the back arrow; it's ghosted out. I have to physically type the address again (www.espn.com). Why has this changed? Is there a way to fix it? Why can't I just click the back arrow to go back to the espn.com homepage that I typed in originally (or my original homepage if I opened up a new window instead of a tab)? Oddly enough, if I go one link deeper into the espn.com site, I can then go back to the immediately preceding webpage, but not all the way back to the original espn.com homepage.
    I can't stand IE, but it doesn't have this problem. This problem also was not present on the old version of Firefox. I just verified this by testing the old version which I have installed on another computer.
    Please advise.

    Same problem here: I never had a problem with the previous versions and now I don't even get my homepage when I click Firefox. Instead, I am getting a blank screen that says "New Tab", only after I click the "Home" symbol I get my Homepage (Yahoo). The browser - back and browser forward button don't work anymore, very annoying. Normally a newer version should be an improvement but it looks like Mozilla really messed up with this "improvement". probably I am going to use Google chrome from now on.

  • How to download blob image, inline to new browser tab or window

    APEX V4.2.3
    I have an interactive report with a blob download column which is set to inline.  When I click on the "download" link the image appears automatically in same window as the APEX application.  How do I download the image into a new browser tab?  I need to squeeze 'target="_blank" ' somewhere but I don't know where as the link structure is hidden.
    Here is the code for my download column in the Interactive Report.
    select
    decode(nvl(dbms_lob.getlength(BLOB_CONTENT),0),0,null,
    '<img style="border: 4px solid #CCC; -moz-border-radius: 4px; -webkit-border-radius: 4px;" '||
    'src="'||
    apex_util.get_blob_file_src('P98_BLOB_CONTENT',image_id)||
    '" height="100" width="100" alt="'||FILENAME||'" title="'||FILENAME||'" />')
    as detail_img,
    from "#OWNER#"."TIS_ATTACHMENTS"
    thanks in advance
    PaulP

    I would suggest
    SELECT ID, NAME,CASE WHEN NVL(dbms_lob.getlength(document),0) = 0
      THEN NULL
      ELSE CASE WHEN attach_mimetype like 'image%'
      THEN '<img src="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'" />'
      ELSE
      '<a  target="_blank" href="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'">Download</a>'
      end
      END new_img
      FROM TEST_WITH_BLOB

  • Hyperlinks won't open in new browser tab or window

    How do I get hyperlinks to open in new window? "Open in new window" box is checked under hyperlinks, but it just won't work. I'm previewing in a browser, not Muse (Chrome and Safari).

    Hi Pblossom,
    Can you please send your .muse file to [email protected], along with a link to this thread? If your file is too big for email (larger than 20mb) you can use a service like Adobe SendNow or SendThisFile.
    Regards,
    Aish

  • Embedded hyperlink into new browser tab/window

      Hi Team,
    There is a requirement in my project for that, need to open embedded hyperlink into new browser tab/window, hyperlink is available in the pdf file which is open in browser (Internet Explorer).
    More than 2 lakh user is using the product so, there is any way to set the hyperlink target as a _blank so that the link open in new tab/window.
    Is there any adobe API is there which can support the above requirement?
    Is there any other way which can fulfill the requirement?
    End user is more than 2 lakh so, am not going to change the setting of Adobe reader as well as browser.
      Need your help to resolve the issues.
    Regards,
    Rupesh

    Yes, there is an API that is supposed to do this in the Web brower.  Does it work?  Not reliably is what I have found because different web browsers seem to interpret the way that Acrobat calls for a new window differently.
    launchURL
    7.0
    S
    Launches a URL in a browser window.
    Note:    Beginning with Acrobat 8.1, File and JavaScript URLs can be executed only when operating in a privileged context, such as during a batch or console event. File and JavaScript URLs begin with the scheme names javascript or file.
    Parameters
    cURL
    A string that specifies the URL to launch.
    bNewFrame
    (optional) If true, this method launches the URL in a new window of the browser application. The default is false.
    Returns
    The value undefined is returned on success. An exception is thrown on failure.
    Example 1
        app.launchURL("http://www.example.com/", true);
    Example 2
    Add an online help item to the menu system. This code should be placed in a folder-level JavaScript file, or executed from the JavaScript Debugger console.
        app.addMenuItem({
            cName: "myHelp", cUser: "Online myHelp",
            cParent: "Help",
            cExec: "app.launchURL('www.example.com/myhelp.html');",
            nPos: 0
    Related methods are openDoc and the Doc object getURL method.

  • I can no longer open a new browser tab by either clicking the + at the end of the last browser or by using the Ctrl key + T, how do I fix this?

    I have uninstalled firefox and reinstalled firefox to try and solve this
    issue, but it has not fixed the issue. To open a new tab I must right click
    any current page link to get a new browser tab and then navigate to a new web address. This is a recent issue that just started happening and I can't figure out what happened or what got disabled. Please help me fix this.

    Try uninstalling the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and Firefox that prevents new tabs from being opened.

  • Open URL from Java in a new browser tab

    Hi OTN,
    Surprisingly can't find the implimintation.
    In an ADF managed bean I retrieve String url. I need to open a new browser tab with this url.
    Found this thread Open a url in a new window in the backing bean which shows using javascript "service.addScript(facesContext, "window.open(http://www.google.coml)");".
    But in my case in doesn't work. The code is executed, but nothing happens. Maybe because the bean is called from a taskflow inline popup.
    ADF 11.1.1.4
    Thanks.

    Well, I'm afraid that is not an option.
    The goButton is in a table row. There are lots of rows so if I use EL for Destination attribute the URL would be retrieved for each of rows.
    The method of URL retreiving is heavyweight operation which includes calling plsql functions, working with strings and others. So if I do it for each table row my application hungs and then I receive an exception of CPU usage.
    That's why I switched to normal commandButton witch actionListener which retrieves url on click - only once. So I need to open URL from Java.

  • Open Bytearray in new browser tab??

    hi
    I get the content of a file from the database and I want to open the content in an new browser tab.
    The content will be send to the frontend as bytearray.
    What kind of formats could be shown in a browser tab (e.g.: DOC, PDF, EXCEL)?
    is it possible to open a new browser tap to show a bytearray file? How??
    I just found only the possibility to open a pdf with e.g. a coldfusion script.
    I don't use a coldfusion server or something like that.
    How could I do this in PHP. I never used PHP.
    thanks for any advice

    Try this technique in a managed bean method that is invoked by your <af:commandLink>:
    // Invoke your PL/SQL procedure
    // Open the APEX site in a separate browser window
    String apexUrl = ...;
    ExtendedRenderKitService erks = Service.getRenderKitService(ctx, ExtendedRenderKitService.class);  
    String script = "window.open('" + apexUrl + "', '', 'location=0, status=0, resizable=1, scrollbars=0');";
    erks.addScript(FacesContext.getCurrentInstance(), script);Dimitar

  • When you open a new browser tab, underneath the box to type in what you are looking for is the recently visited list. I want to disable or delete this list...how do I get rid of this list???

    When you open a new browser tab, underneath the box to type in what you are looking for is the recently visited list. I want to disable or delete this list...how do I get rid of this list???

    The drop-down list displays items from your History and/or Bookmarks.
    You can control what shows (or nothing at all): Options > Privacy, "Location Bar" section. Options are:
    *History and Bookmarks
    *History
    *Bookmarks
    *Nothing
    See --> https://support.mozilla.com/en-US/kb/Options%20window%20-%20Privacy%20panel
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Open in a New Browser Tab?

    How do I open in a new browser tab (ex. IE & Firefox)? I
    know how to open in a new window but cannot fins a command or code
    to point to a new browser tab.

    That's because it doesn't exist as far as I know. There is no
    code like <a href ="xxx.com" target="_newTab">.
    That is just an option the user can choose by right clicking
    on a link and selecting "Open Link in a New Tab".
    Just treat the content like it is opening in a new window.
    You can name the new page and then focus in on it as if it is not
    in a tab but a new window.

  • Problem create DataGrid  on the new browser tab with

    Hello.I work Flex  3 Web application .I have a problem  with about create new browser tab.So that I want to create  DataGrid(with data) on the new browser tab.

    Use JavaScript to do this pointing to your DataGrid application and pass some parameters.

  • When I open my free aol email account, I keep getting redirected to a new open tab ad for Verizon Fios. Is there a way to block this in Firefox?

    I tried SuperAntiSpyware and Malwarebytes but they didn't solve the problem. AOL email is the only place I'm having this problem and it's constantly happening while I have that email open. It will open up the same new tab time after time. Screen shot jpg will not upload but it shows 3 tabs for "FiOS Custom TV" with the following address - http://campaign.verizon.com/customizetv/?CMP=BAC-CON_2015-Q2_MM-ACQ-MZ2ACQQuizP3a_0576
    Help?

    I access my aol email through www.aol.com. When I got to my emails, another tab was automatically opening by itself and I was redirected to that newly opened tab with the page that had the Verizon Fios promotion/ad. This happened automatically and repetitively while I was trying to check my emails. (Note the multiple Verizon tabs in the screenshot attached to this inquiry)
    This happened over the last 2 days while in my free aol email account. I did notice a Verizon ad at the top of my email inbox while this was happening. I never did click on or otherwise access the Verizon ad but was constantly redirected to the new page/tab while viewing my emails. I went to my aol email just now to see if this was still occurring; there is a different ad in place of the Verizon ad and I am no longer being automatically redirected to another tab/page. Don't know why it was happening when the Verizon ad was there but it's not happening now since the Verizon ad has been replaced with another ad from a different company.
    Any thoughts on this?
    thank you

  • How do I stop Firefox from opening a new tab when I click a link or navigation button (such as "home") instead of redirecting using the currently open tab?

    Any time I click on a link within a page, such as the "home" link in Facebook, or the various links on the Mozilla page that I needed to follow to get to this screen, Firefox opens a new tab instead of redirecting using the tab I'm on. Also, Firefox doesn't go to the new tab, it just opens it. So if I want to actually go to the page I've just clicked on, I have to then also find and click on the new tab that just opened.

    Hello,
    In safe mode link still open in new tabs?
    *[http://mzl.la/MwuO4X Firefox in safe mode]
    Go to '''about:config''' and search for:
    *'''browser.tabs.loadInBackground''' change its value to '''false'''.
    If in safe mode the links still open in new tabs try go to '''about:config''' and search for:
    *'''browser.link.open_newwindow''' change its value to '''3'''.
    *[http://kb.mozillazine.org/About:config about:config]

  • How to open my Ireport in new browser tab window

    hi
    I'm using Jdev v 11.1.2.3.0
    Isucced in conneting and calling (ireport) generated report from my adf application in pdf file format
    All what I want to do now is to call or open the report in browser tab window
    I can call it in the same tab window
    using this line code
    response.setHeader("Cache-Control", "max-age=0");
    or
    make attachment download
    using this line code
    response.setHeader("Content-Disposition", "attachment; filename=\"report.pdf\"");
    please help me in this last setp
    here is my code to call ireport
    after adding nessesary jar files and Datasource in wedlojic
    maybe it help others
    ============
    import java.io.ByteArrayOutputStream;
    import java.io.InputStream;
    import java.sql.Connection;
    import java.util.HashMap;
    import java.util.Map;
    import javax.faces.context.FacesContext;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletResponse;
    import javax.sql.DataSource;
    import net.sf.jasperreports.engine.JasperExportManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.JasperReport;
    import net.sf.jasperreports.engine.type.WhenNoDataTypeEnum;
    import net.sf.jasperreports.engine.util.JRLoader;
    import oracle.adf.model.BindingContext;
    import oracle.adf.view.rich.component.rich.input.RichInputText;
    import oracle.binding.BindingContainer;
    //import oracle.adf.model.binding.DCIteratorBinding;
    public class mainNew {
    private RichInputText copyFrom;
    private RichInputText copyTo;
    public mainNew() {
    public void setCopyFrom(RichInputText copyFrom) {
    this.copyFrom = copyFrom;
    public RichInputText getCopyFrom() {
    return copyFrom;
    public void setCopyTo(RichInputText copyTo) {
    this.copyTo = copyTo;
    public RichInputText getCopyTo() {
    return copyTo;
    public String cb3_action() {
    String s =(String)copyFrom.getValue();
    String d =(String)copyTo.getValue();
    // copyTo.setValue(s);
    // DCIteratorBinding empIter = (DCIteratorBinding) getBindings().get("Employees1Iterator");
    // String empId = empIter.getCurrentRow().getAttribute("DepartmentId").toString();
    Map m = new HashMap();
    System.out.println(s) ;
    System.out.println(d) ;
    // m.put("eployeeId", copyFrom.getValue() );
    if (s!=null) {
    m.put("whr", "Where department_id ="+s); }
    if (d!=null) {
    m.put("whr", "Where employee_id= "+d);}
    if (s != null & d==null)
    { m.put("whr", "Where department_id ="+s);
    if (s==null & d!=null) {
    m.put("whr", "Where employee_id= "+d);}
    if (s!=null & d!=null) {
    m.put("whr", "Where department_id ="+s +" and employee_id="+d);}
    if (s==null & d==null) {
    m.put("whr", "Where 1=2");}
    try
    // runReport("empRep2.jasper", m);
    runReport("empsDyn.jasper", m);
    catch (Exception e)
    return null;
    public BindingContainer getBindings()
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    public Connection getDataSourceConnection(String dataSourceName)
    throws Exception
    Context ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup(dataSourceName);
    return ds.getConnection();
    private Connection getConnection() throws Exception
    return getDataSourceConnection("hrDS");
    public ServletContext getContext()
    return (ServletContext)getFacesContext().getExternalContext().getContext();
    public HttpServletResponse getResponse()
    return (HttpServletResponse)getFacesContext().getExternalContext().getResponse();
    public static FacesContext getFacesContext()
    return FacesContext.getCurrentInstance();
    public void runReport(String repPath, java.util.Map param) throws Exception
    Connection conn = null;
    try
    HttpServletResponse response = getResponse();
    ServletOutputStream out = response.getOutputStream();
    /// response.setHeader("Cache-Control", "max-age=0"); // opens in same page
    response.setHeader("Content-Disposition", "attachment; filename=\"report.pdf\""); // genreat adownload file
    // response.setHeader("Content-Disposition", "inline; filename=\"" + "Report.pdf\"");//opens in same page
    response.setContentType("application/pdf");
    ServletContext context = getContext();
    InputStream fs = context.getResourceAsStream("/reports/" + repPath);
    JasperReport template = (JasperReport) JRLoader.loadObject(fs);
    template.setWhenNoDataType(WhenNoDataTypeEnum.ALL_SECTIONS_NO_DETAIL);
    conn = getConnection();
    JasperPrint print = JasperFillManager.fillReport(template, param, conn);
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    JasperExportManager.exportReportToPdfStream(print, baos);
    out.write(baos.toByteArray());
    out.flush();
    out.close();
    FacesContext.getCurrentInstance().responseComplete();
    catch (Exception jex)
    jex.printStackTrace();
    finally
    close(conn);
    public void close(Connection con)
    if (con != null)
    try
    con.close();
    catch (Exception e)
    }

    One solution would be to generate the report via an servlet which you then call with an af:golink with an target frame set to blank.
    For a sample how to do this check out http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/
    Timo

  • Since upgrade, Facebook redirects into a new browser window

    I noticed for the past couple of days that when I'd be in facebook and click on a game it would open a new tab. But since upgrading it opens a whole new browser window.
    Tonight I was playing Monopoly and it kept saying that my internet connection was lost (which this may be a problem with the game itself) but I didn't know if it was because I had several browser windows open all for FACEBOOK!

    Hello,
    You can either use
    <embed src="file.pdf" />
    or, alternatively, my new plugin, PIFF: https://github.com/terrasoftlabs/piff
    Peace,
    Gabriel Nahmias
    Terrasoft

Maybe you are looking for

  • Communication between Two WebLogic instances on the same machine

    Hi, We're having a problem with communication between two copies of Weblogic on the same machine. They are configured with seperate ports (regular and SSL). Independantly, they run fine. I can access EJBs running on either of them. The problem is tha

  • JDev 10.1.3.0.4 studio problem: table attribute not found in @JoinTable

    Hi, I tried to compile a EJB3 application in JDev 10.1.3.0.4 Studio version, but the compiler complains about the table attribute of the @JoinTable annotation. The following code is not accepted: * Retrieve the list of clubs this player played for *

  • MS SQL to Oracle 8.1.6/7

    When using Migration WB on SQL server 7 users are by default migrated too, this includes the standard MS SQL user 'sa' and in my case another user 'A'. When migrating since all tables in the SQL db was created by 'sa' so will they be in oracle. This

  • What caused the Windows 2008R2 Security event discarded

    Dear Support team, I have a windows 2008 R2 server, The security events didn't recorded from last year. 1. The maximum log size set to 100 MB, But the log file is 300 MB.  The retention was set to "archive the log when full,do not overwrite events".

  • BI Publisher Graph Properties

    Hello Guys, I need a BI Publisher graph created where we have 2 measures over a period. Measure A we need in Bar and Measure B we need in line. Is it possible? can you please advise. The Pareto Graph looks different. Thank You, Regards, Sandeep