Popup not be closed in IE

Hello

I use Jdev 11.1.1.7.0

I have a code like below, which appears a pop up.

When we press 'ok' the pop-up window is closed.

This works well with Firefox and chrome, but not on IE.

In Internet Explorer, the popup does not get closed.

class {}

{function1()}

popMessage ("The Message to display", FacesMessage.SEVERITY_ERROR);

}

' public void popMessage (String msg, gravity javax.faces.application.FacesMessage.Severity) {}

FacesMessage fm = new FacesMessage (msg);

fm.setSeverity (severity);

FacesContext context = FacesContext.getCurrentInstance ();

context.addMessage (null, fm);

}

}

Yes, it seems that Oracle for IE 11 paths does not offer anything prevent more message "browser not supported...". ».  :-(

Because of this, I've created the following custom filter, which allows me to access 11.1.1.6/11.1.1.7 application of IE 11:

import java.io.IOException;

to import javax.servlet.Filter;

Import javax.servlet.FilterChain;

Import javax.servlet.FilterConfig;

to import javax.servlet.ServletException;

import javax.servlet.ServletRequest;

import javax.servlet.ServletResponse;

to import javax.servlet.http.HttpServletRequest;

javax.servlet.http.HttpServletRequestWrapper import;

/ public class Solve_IE11Filter implements filter {}

' Public Sub doFilter (ServletRequest request, ServletResponse response, string FilterChain) survey IOException, ServletException {}

String userAgentStr = ((HttpServletRequest) request).getHeader("user-agent");

user agent for IE 11 request:

Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; RV:11.0)...

{If (userAgentStr! = null & {userAgentStr.contains ("Trident"))}

ServletRequest fakeIE10 = new FakeIE10Request ((HttpServletRequest) request);

chain.doFilter (fakeIE10, response);

} else {}

chain.doFilter (request, response);

}

}

{} public void destroy()

}

Public Sub init (FilterConfig arg0) throws ServletException {}

}

private class FakeIE10Request extends HttpServletRequestWrapper {}

public FakeIE10Request (HttpServletRequest request) {}

Super (request);

}

public String getHeader (String name) {}

HttpServletRequest request = (HttpServletRequest) getRequest ();

{If ("user-agent".equalsIgnoreCase (name) & {request.getHeader("user-agent").contains ("Trident"))}

return "Mozilla/5.0" (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0) ';

}

Return request.getHeader (name);

}

}

}

-Then, in the web.xml file, place this filter more Trinidad high filter:

   

   Solve_IE11Filter 

   adjust_your_package_name. Solve_IE11Filter 

 

and match them to the FacesServlet:

  

   Solve_IE11Filter 

   Faces Servlet 

 

===

You can try your code now...

Tags: Java

Similar Questions

  • MY ipad has not automatically closing after update to ios 10

    MY ipad has not automatically closing after update to ios 10

    Take a look at suggestions from this thread. iOS 10 Auto-Lock does not.

  • Z30 satellite will not be closed

    New laptop for my daughter will not entirely closed and seems to be stuck at the stage of closing.
    I tried pressing so that hold power button for 5 seconds.

    It seems to stop even if the power led on the touchpad still slowly flashes orange.
    When you press power button / stop again, the "Stop" screen is still there.

    He did this for more than a half.

    Hi Judy

    As I see that you've marked your thread as answered. Is everything OK?
    If so, send us your short comments please.

    If I m right of your laptop is not switch reset so brief description how it works, you can find on http://aps2.toshiba-tro.de/kb0/FAQ3500560002R01.htm

  • Hi, I have an imac. Sometimes I can't open without a lot of effort. But it is not completely closed, because suddenly opens again.

    I have a computer. Sometimes I can't open without a lot of effort. But it is not completely closed, because suddenly opens again.

    I'm sorry, but I don't understand what you're asking.  On the surface, it looks like you have some issues regarding physically open the lid of your laptop.  But given that Mac laptops are pretty easy to open, I think that maybe there is an application that will not start.

    If you could expand a bit more on what he wants you're all this, maybe someone can offer assistance.

    What Mac do you have?

    If you are physically problems open, specify.

    If you have problems to open an application, please let us know what application (or applications).

    If applications, are there any error messages displayed, and if yes, what is the "wording".

    It could be useful as you tell us what is your ultimate goal, that will help us to fill in gaps in the description of your problem.

    If it's hard to describe, so if you have an Apple Store nearby, you can take a go-Genius Bar and demonstrate the genius of Apple what your problem is.

  • Portege Z930 - will not be closed

    My brand new Ultrabook of Z930 age of 3 days will not be closed.

    I've updated the Bios, downloaded new drivers for various devices (including the screen and the dynadock!) and it still don't bloody close (or Hibernate).
    I've even deleted the software from dynedock think it's maybe... still no good.

    Very annoying to pay $ albums with Toshiba for this fundamental flaw.
    Thank you

    Reinstall the original recovery image and check with the factory settings.

    Please post comments.

  • Pavilion dv6-1350us Entertainm: Pavilion dv6-1350 us running Windows 7 will not be closed

    Have not used my laptop for the last 45 days and have not installed anything new. W7, 64-bit running. Just used on these days and it will not be closed. When I stopped it just hangs and displays that says: "if it please do not turn off or unplug your machine. Installation of update 1 of 1 ". This can last for hours.

    I stop it manually with the power button which of course translates message when I start again that «Windows did not close properly»

    I thought that since I had not used the computer laptop or literally turned on for about 45 days, that maybe I was missing a few important Windows updates, but when I go to Windows update via Control Panel and click on Windows Update to search for updates, it "just hangs" it thus, showing never updates available. Last update of the W installed was 26/03/16 and laptop worked OK.

    Any ideas?

    I downloaded ccleaner pro (first edition) and scanned the hard drive. I checked 'fix all issues' and it worked! Whatever files or conflicts on the register or wherever was causing the 'hang up' were eliminated obviously that my laptop was able to stop. :-)

  • DVD/cdrom do not stay closed to load

    My DVD/CD will not be closed to load
    I don't know, but I think it is HL-DT-ST CDRW/DVD GCC4882

    Hi, Caryoh2,

    What is the make and model of computer?

    What version of Windows are you using?

    Start > right click on computer

    Select manage

    Select Device Manager

    Is there a yellow question mark or an exclamation point next to the CD/DVD drive?

    If so, right click on the driver, and then select Properties

    What is the code # message listed in the (lower) window under the general tab?

    If not, click on the + next to the CD/DVD drive to expand the menu

    Make a right click on the driver that appears and select uninstall

    Reboot and let Windows reload the driver

    Retry using a CD/DVD player

    Go to the manufacturer's website and search for updated drivers.

    The CD drive or the DVD drive does not work as expected on a computer that you upgraded to Windows Vista
    http://support.Microsoft.com/kb/929461

    When you insert a CD or a DVD, Windows Vista may not recognize the disc
    http://support.Microsoft.com/kb/939052

  • my laptop will not be closed. I have xp proffessional__

    my laptop will not be closed. I have xp proffessional OS

    Resources to solve the shutdown problems in Windows XP
    http://support.Microsoft.com/kb/308029

    Utilities for Windows XP stops
    http://aumha.org/win5/a/shtdwnxp.htm

    Harold Horne / TaurArian [MVP] 2005-2011. The information has been provided * being * with no guarantee or warranty.

  • My dvd drive opens at the beginning and will not be closed.

    My dvd drive opens at the beginning and will not be closed. How can I solve this problem?

    Hi Showme66,

    A. from when what happens?

    B. what happens when you try to close the drive?

    C. recent changes made on the computer?

    D. the DVD drive opens automatically at startup?

    This problem may occur if one of the following scenarios is true:

    • Drivers filter in the CD and the DVD storage stack are not migrated successfully to Windows Vista.
    • You have uninstalled the CD software that fails to withdraw properly in the registry.
    • You have installed software that adds filter drivers in the CD and the storage stack of DVDs that interfere with existing filters.

    To resolve this issue automatically, click the fix this problem link. Then, click run now button from the Automated Troubleshooting Services page and follow the steps in this wizard.

    http://support.Microsoft.com/kb/929461

    Please post back the result.

    Bindu S - Microsoft Support

    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] Marking a post as answer, or relatively useful, you help others find the answer faster

  • WMP12 has not been closed properly. How do you prevent disabling my plugins?

    I found this description of the error:

    C00D0FD6: Damaged or incompatible plug-ins
    Windows Media Player has not been closed properly. A damaged or incompatible plug-in could have caused the problem to occur. As a precaution, the optional plug-ins have been disabled.

    The question: is it possible to disable this feature or on the occasion of some plugins like not optional ?

    I found a way by program. Before you start WMP, make sure all the registry keys under HKCU\Software\Microsoft\MediaPlayer\Health are deleted. That will tell the WMP on the next boot he was properly arrested even if it wasn't.

  • My Hp 4500 Wireless printer does not print, or will not be closed

    The connected printer will not be closed, does not, print does not diagnosis or anything like that.  He tried to stop three hours now and nothing has changed.  Power on the computer power off and nothing happens.

    Hello

    1. don't you encounter any error message when you try to print?
    2. have you made changes to the computer recently?
    3. what happens when you run the HP diagnostic utility?

    Method 1.
    Try to run the printer Troubleshooter and check if it finds problems. See the link below for additional information and steps.
    Open the printer Troubleshooter
    http://Windows.Microsoft.com/en-us/Windows7/open-the-printer-Troubleshooter

    Method 2.
    Given that the printer does not turn off I will also suggest you to check with the help of HP on this.
    http://welcome.HP.com/country/us/en/support_task.html

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • HP F2210 printer will not be closed, and all the lights are on. Tried unplugging don't, no results.

    My Hp F2210 printer will not be closed, and all the lights are on. using a compaq presario with windows xp installed. I tried to unplug the unit. Problem has not been resolved.

    I'm sorry that you are experiencing this issue. Sometimes there may be ink system failures, ink cartridges are bad, or even the printer maintenance needs.

    Here is a link that can help you with this problem.

    http://support.HP.com/us-en/document/c01430567

    Let me know if it helps.

  • Door drive DVD/CD of Dell Inspiron 530 will not be closed

    I was in the middle of installation 3 disks of a game, when on the open disc 3, the door kept popping back.  Thought it was a bad drive maybe, so I tried another disc, same problem.  haven't tried any disc, same problem.  I restarted, in the remake, he closed the door, but then reopened it upward once in operation.  It will not be closed the door.  I have to take out them and put it back in or is it turned and I need a new?  It came OEM with the machine, says he works correctly in Device Manager.  in properties, he says that's DVD + RW DH 16 - W15 aPBDS.  If I need a new, where I can go to the web to find what I need?

    Thank you.

    Hey well, good news! Before I decided to replace it, I thought that 'let me play with him' and open the computer and tried to get out.  Well, I got all the cancelled screws and plugs disconnected, but I couldn't drag him completely out of the slot, I tried several times without success.  He would slide approximately 1/2 in. and then stop.  So I gave up, he slipped into place, screwed it back in, plugged everything back in and voila, it works!  I don't know what was going on.  There was a strip of clear band they put on the machines when they send their, a thin strip through the logo Dell Isnpiron on top of the drive with a shot to the back corner, maybe the edge of the door that was contagious?  I pulled it off.  No matter what.  It works, thank the Lord.  But out of curiosity, how one removes this player?  I couldn't go out for the life of me.

  • My labtop will not be closed to the right.

    My laptop will not be closed down to the right, the power button works, but the close menu button start menu is not, he will tell disconnected for a short time then say stop for a few seconds, then the screen and the power button will go black but then 3 other buttons start flashing and it lights up immediately I tried the msconfig method and when I press OK it asks me to restart my computer, I have windows 7, please help.  I also tried system mechanic, and I have no virus.  If more details are needed on my laptop please ask.

    Hello

    1. do you get an error message/code?

    2. you made any hardware or software comes to the computer before the show?

    3. What is the brand and model of the computer?

    Method 1:

    Disconnect all external devices connected to the computer except the keyboard and mouse, and then restart the computer. Check if the problem persists.

    Method 2:

    Run the troubleshooter of performance since the link and if that helps.

    Open the troubleshooter of Performance

    http://Windows.Microsoft.com/en-us/Windows7/open-the-performance-Troubleshooter

    Method 3:

    Download and install the hotfix from the link:

    You can't do a computer that runs Windows 7 stops or sleep

    http://support.Microsoft.com/kb/977307

    Also check the link for more information:

    Turn off a computer: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/turn-off-a-computer-frequently-asked-questions

    Hope this solves the problem. If the problem persists, you can write to us and we will be happy to help you further.

  • How to change settings is disconnected so that other applications are not automatically closed?

    original title: log settings (windows 7 Home Premium)

    For Windows 7 Home Premium, how can we change the log settings so that other applications are not automatically closed with log off?

    I'm trying to keep Microsoft Word and files that I have worked on before closing logon.

    [Moved from the Word forum; please move again, if this isn't the right subforum]

    At best, I think all you can do is Pin password to your taskbar,

    Enable recent items, jump lists

    Right click your Start button and select Properties,

    Check the two boxes of privacy,

    Then at least you will have this item / items on the jump list, you can open it immediately when you log back in.

    You will still need to manually, save your work or value Word Auto save every minute / 60 seconds...

    But when your disconnect there is no way to have a program remain open.

Maybe you are looking for

  • Activation helps in my ipad, lost email =)

    I bought my mini ipad nearly 3 years, but this problem is already 2 years old, I don't know what happened, it of just stop and seemed an ipad activation... I have try all the emails that I don't always have incorrect or bad password... I think I lost

  • Can not enter the Windows Firewall settings

    Hello Can someone tell me what my problem is? When I try to enter my WF in the Panel, he won t let me do that. A message just because of an unidentified problem, windows cannot display only my windows firewall settings.

  • ENVY of HP dv6-7246us Notebook PC Wireless "turned off", can't go back.

    Help, please. I have a HP ENVY dv6-7246us Notebook PC with a Qualcomm QCA9565 Atheros 802.11b/g/n wireless adapter. This camera has worked flawlessly since purchase in January 2013. But for the last 2 weeks, the adapter has been disabled and I can't

  • issues 2013 Streets & trips

    How do you get S & Ts to recognize a rest area on the right side of a road?  Several times I chose the correct judgment on the right side to see that one on the other side is included in the final route creating a loop of track.  Then, how to elimina

  • For blackBerry Smartphones SMS senders name is displayed

    When I receive text messages only the number is not the name of the sender is shown even if the name is listed in my contacts? When you receive a call that appears the name of shippers, can anyone help please?