3 Replies Latest reply on Mar 27, 2008 3:48 PM by 666705

    Images show up on Firefox but not IE after upgrade from 8.1 to 9.2

    666705
      Hello,
                <p>
                We are encountering a strange situation: we upgrade our Weblogic 8.1 Application to 9.2. The images on the login page can be properly displayed on Firefox, but not in IE.
                <p>
                In order to make the images show up on IE, we have to modify the image path by adding extra two "//". For example:
                <p>
                We have to change
                <p>
                < img src="/resources/images/logo.gif" .../>
                <p>
                into
                <p>
                < img src="///resources/images/logo.gif" .../>
                <p>
                to make it works in IE, however, in that case, the Firework won't work.
                <p>
                We do notice that the file structure has been changed by the upgrade:
                <p>
                File structure of Weblogic 8.1 Application Web Module "golWeb"
                <p>
                ------------------------------------
                <p>
                golWeb
                <p>
                * jsps folders
                <p>
                * resources
                <p>
                >> resources/images
                <p>
                >> resources/jsps
                <p>
                * WEB-INF
                <p>
                File structure of Weblogic 9.2 Application Web Module "golWeb"
                <p>
                ------------------------------------
                <p>
                golWeb
                <p>
                * WebContent
                <p>
                -- jsps folders
                <p>
                -- resources
                <p>
                >>> resources/images
                <p>
                >>> resources/jsps
                <p>
                -- WEB-INF
                <p>
                ----------------------------------------
                <p>
                It seems that only the first login page has such issue. Could anyone help us with this issue? We totally have no clues now.
                <p>
                Thanks for the help!
                
                <p>
                Agnes
        • 1. Re: Images show up on Firefox but not IE after upgrade from 8.1 to 9.2
          3004
          Agnes,
                    I think you should distinguish whether it is a behavior difference between
                    two browsers or it is an issue of WLS server.
                    You can copy suspicious html codes into a dependent html file, then check
                    how is is rendered by different browsers.
                    If you have further issues, please add commnets here.
                    Regards
                    
                    Leon
                    
                    
                    <Agnes Chen> wrote in message news:5700000718@newsgroups.bea.com...
                    Hello,
                    <p>
                    We are encountering a strange situation: we upgrade our Weblogic 8.1
                    Application to 9.2. The images on the login page can be properly displayed
                    on Firefox, but not in IE.
                    <p>
                    In order to make the images show up on IE, we have to modify the image path
                    by adding extra two "//". For example:
                    <p>
                    We have to change
                    <p>
                    < img src="/resources/images/logo.gif" .../>
                    <p>
                    into
                    <p>
                    < img src="///resources/images/logo.gif" .../>
                    <p>
                    to make it works in IE, however, in that case, the Firework won't work.
                    <p>
                    We do notice that the file structure has been changed by the upgrade:
                    <p>
                    File structure of Weblogic 8.1 Application Web Module "golWeb"
                    <p>
                    ------------------------------------
                    <p>
                    golWeb
                    <p>
                    * jsps folders
                    <p>
                    * resources
                    <p>
                    >> resources/images
                    <p>
                    >> resources/jsps
                    <p>
                    * WEB-INF
                    <p>
                    File structure of Weblogic 9.2 Application Web Module "golWeb"
                    <p>
                    ------------------------------------
                    <p>
                    golWeb
                    <p>
                    * WebContent
                    <p>
                    -- jsps folders
                    <p>
                    -- resources
                    <p>
                    >>> resources/images
                    <p>
                    >>> resources/jsps
                    <p>
                    -- WEB-INF
                    <p>
                    ----------------------------------------
                    <p>
                    It seems that only the first login page has such issue. Could anyone help us
                    with this issue? We totally have no clues now.
                    <p>
                    Thanks for the help!
                    
                    <p>
                    Agnes
          • 2. Re: Images show up on Firefox but not IE after upgrade from 8.1 to 9.2
            666705
            Thanks a lot for the reply, Leon!
                      <p>
                      We tried a few tests and found out: it seems that the IE cannot identify the 'localhost' for the login page. So, if we use "http://localhost:7001/", the images on the login page don't get display. (However, it works on Firefox).
                      <p>
                      However, If we replace the localhost with the IP address, e.g.
                      <p>
                      http://192.168.168.168:7001/
                      <p>
                      then, the login page works in both the IE and Firefox!
                      <p>
                      We looked at the codes in the JSP page, everything is working correctly, except for the image. Could you give me some idea how this happen?
                      <p>
                      Thanks a lot for the help!
                      <p>
                      Agnes
            • 3. Re: Images show up on Firefox but not IE after upgrade from 8.1 to 9.2
              666705
              It seems we solve the issue. Here is our approach:
                        <p>
                        we change the Weblogic 9.2 server listen port to a different port 9001, then the images are shown up on both IE and Firefox.
                        <p>
                        I suspect that the issue is caused by the Weblogic 8.1 server and 9.2 using the same port (although we never start these two at the same time).
                        <p>
                        Agnes