JSP Images wont display in firefox?

Hi,
I need some help. Firefox doesn't seem to display an image coming from a servlet going to a jsp page.
I have this login page. Once the user enters his/her username and password. The servlet will then validate if the credentials are ok.
Once its okay the servlet will forward the username and the image location to home.jsp. Then the home.jsp will render the page.
The problem is only the username gets display its only a text. While the image doesn't get displayed.
I checked the generated page it includes the location of the image but firefox wont display it?
<h3>
Welcome DemoUser
</h3>
<font size="2"><br /><br />
<img src="C:\images\demoimage.jpg">
</font>b/w I'm using the latest firefox 2.0.1 this problem doesn't occur in IE. IE works well in displaying the desired image.

I found the solution firefox wont display the image if the image location doesn't start with web application image folder root.
So Instead of C:/Images/image.jpg it should be:
Inside TOMCAT/WebApp/WebApplication it should be:
/images/image.jpg instead.
Message was edited by:
The_Developer

Similar Messages

  • Pdfs wont display in firefox

    Hi,
    PDFs on my system work fine. They display in IE no problem.
    In adobe reader, I've set the pdf to open in a separate window by unchecking the "display in browser check box"
    After no luck with the firefox options Ive downloaded the add-on "pdf-download" and set it to display\open pdfs in a new window, but this still doesn't work - I get "the adobe acrobat reader that is running cannot be used to view pdf files in a web browser...try again"
    I had some luck getting this to work by giving the user admin rights, but have failed to find a good consistent solution.
    any ideas are much appreciated.
    thanks
    Dan

    I found the solution firefox wont display the image if the image location doesn't start with web application image folder root.
    So Instead of C:/Images/image.jpg it should be:
    Inside TOMCAT/WebApp/WebApplication it should be:
    /images/image.jpg instead.
    Message was edited by:
    The_Developer

  • Why is the logo image not displaying in Firefox?

    The logo image for one of my sites is not displaying. The alt info for the image is being displayed. This is a relatively new problem. In older versions of Firefox the image displayed fine. The image also displays fine in Webkit browsers and IE10. This is a Firefox specific problem. The main URL for the site is: http://sabaki.aisites.com/dbs323/project/masterAi.php
    If you go to that URL in Firefox you'll see "logo gif" split onto two lines and before the "COTin" text. If you view the same URL in Chrome or IE10, you'll see the image. I have screenshots of the problem, but there is no way to include them here.

    Works fine here.
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (MAC)
    If you use extensions (Tools > Add-ons > Extensions) like <i>Adblock Plus</i> or <i>NoScript</i> or <i>Flash Block</i> that can block content then make sure that such extensions aren't blocking content.
    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

  • Why Tab images wont display

    Hi,
    I have filled the fields to show images on Parent Tab and Standard tab but images wont appear when running the page.
    Thanks in advanced for the help.

    thanks for quick reply,
    in the shared components section there is a link to manage Tabs, in the Image attributes part, both Parent Tab and Standard Tabs have the following fields:
    Image, non current image, and image attributes
    I filled all of them and no image is displayed on the tabs.
    hope i got better explained.
    thanks

  • Image not displaying in firefox, working in Chrome & IE (CSS)

    This is a long shot, and a cross post from stackoverflow, i'm hoping someone can help
    I'm trying to position a temporary 'beta' ribbon image positioned in the top left of a wordpress based site.
    The following code functions as intended in Chrome and IE. In Firefox, nothing is appearing:
    #page-wrapper:before
    width: 50px;
    content: " ";
    background: url(../../wp-content/uploads/2013/09/betaribbon2.png) no-repeat;
    position: absolute;
    height: 50px;
    pointer-events: none;
    Can anyone shed light on what I'm doing wrong?
    Thanks,

    the above fragment is correct according to me but just make sure you have got your images enabled on your firefox. please make sure that the path for the image is correct. if the problem continue please be free co contact. :-)

  • Images wont load in Firefox

    Hi,
    The images load locally in firefox but not on the server...
    any Ideas?
    http://www.yogafarm.net/

    you should be using a local path to
    http://www.globaloption.com/partnersites/globaloptions_en/vid/global9.8/videosmall.f4v
    are you?

  • Desktop Image wont display in Windows 8.1 Enterprise

    Hi
    So everything worked fine on my laptop yesterday ( Toshiba)My laptop is running Windows 8.1 Enterprise.  It is activated. When I started my laptop, only the initial startup image showed.  When I go into Personalize, it shows only solid colours,
    not even the windows default themes will display.  My folder locations are in the same place, and all the settings seem to be correct.
    Please advise, its not life threatening, but it is annoying.

    Hi,
    The log files would be expected to be under applications and services logs/Microsoft/Windows
    if Hyper-V has been turned on.
    Besides, there is another way to fix corrupt files in Windows 8.1. Take a try with the DISM command tool:
    Fixing component store corruption in Windows 8 and Windows Server 2012
    Please type the command below in CMD:
    DISM /Online /Cleanup-Image /RestoreHealth
    Then please re-enable Hyper-V feature and then check if issue could be fixed.
    Reference:
    Step-By-Step: Enabling Hyper-V for use on Windows 8.1
    Best regards
    Michael Shao
    TechNet Community Support

  • I have windows 7 and i recently downloaded firefox 4 last month and today it just wont display as firefox 4

    i have windows 7 and ive had firefox 4 for a while and it has been working properly until today . it won't display as the firefox 4 but as a regular firefox. my persona will not work with firefox4 anymore like it did until this day. i tried uninstalling and restarting and reinstalling but nothing is working how can i fix this to have the firefox 4 browser and personas back to the way it was when i downloaded firefox 4 last month

    Presumably it looks like you see it in the top half of the screenshot?
    If so, right click a blank part of the Tab Bar and then click the top option called "Menu bar". This will return it to the way you see it displayed in the bottom half of the picture albeit with the tabs on top.
    If you want to move the tabs to below the location bar, right click a blank part of the Tab Bar again and then click "Tabs on top".

  • I created a website that displays perfectly in IE and Chrome but images dont display in firefox? what could it be?

    as a rooky at making sites this may be simple.
    I have cleared the cache and all that stuff, but it still seems to be not working?
    thanks for any advice

    You have backslashes in the address path for some images. <br />
    Change the \ to a / . <br />
    images\wcspc.jpg <br />
    images\Obriencenterlobby.jpg <br />
    images\Obriencentersign.jpg <br />
    images\facebook.png <br />
    images\blue.jpg
    The W3C validation service found some other errors. <br />
    http://validator.w3.org/check?uri=http://www.wcspc.org/index.html/
    You also have a problem at the bottom of the page where the light blue footer bar blocks some text under '''''Never forget another event''''' on Safari 5.0.1, Firefox 3.6.13 and IE8 - I don't have Chrome installed on this PC right now. The problem is slightly different on each browser, so it might be caused by differences in the way different browsers handles padding and tables, or maybe a CSS problem. There's also a problem with the Google Calendar area, Firefox does show a sliver of the Google Calendar button, but not enough to see the text; Safari and IE show all the text, but there's no "button" / hyperlink to click for me.
    Sorry, I'm a noob myself with web page development, and I can't tell you what needs to be fixed. Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • Store Images Wont Showup in Firefox

    hey everyone...
    this may be a firefox bug im not sure but i'm having trouble with some webstores in firefox...
    in some stores (apple store online, american eagle's site/store) the images of products will not show up.
    they show up fine in safari but not in firefox.
    i've had this problem on my pc as well but thought maybe it is a firefox mac bug.
    any help would be greatly appreciated.

    Oh, hey. Cool! I had just noticed something today that I thought might have been useful. I'll share it anyway.
    I noticed that a button from PayPal showed up in FireFox, but not Internet Explorer (this is all on Windows XP). Apparently, IE was sending a get uri that PayPal couldn't grok. IE just showed the x in the image icon.
    The link to the PayPal site was through a secure server:
    PowerBook G4 12"   Mac OS X (10.4.7)   1.5 GHz

  • Back buttons wont work on Canon 70D and images wont display - help!

    Hi guys. so i was shooting at tthe beach with my cannon 70d, i took some 2" long exposures with flash on then my camera shutter started to lag and the camera would say "busy" alot. after a few pictures the back buttons on my camera stopped working (like delete, menu, options and such) and the images i took would not display on the screen. my hands were a bit wet while i was holding the camera but shoud that be an issue since it is weather sealed? please let me know what to do. 

    GeorgeCKW wrote:
    so u suggest i should take it to repair it at the store? yes it was salty water. 
    There may be nothing wrong with your camera.
    You mention taking long exposures with it. If you had Long Exposure Noise Reduction enabled, that will cause a delay and "busy" warning. The way LENR works is right after you take your shot, the camera automatically takes a second shot of the same duration, with the shutter closed. This "blank" shot is then used to determine where noise is occuring and that data is used to "subtract" the noise from the first shot. While the second "blank" shot is being made the camera is in "busy" mode. If your first shot was 2 seconds, then the camera will show "busy" for another 2 seconds while LENR takes the second shot. If your first exposure was 30 seconds, then there will be an additional 30 second busy period, etc. You can cancel the second shot from happening by turning the camera off, but doing so will delete both the original shot and the second "blank" shot. To prevent LENR from automatically operating, it can be turned off in the camera's menu. With it off, your images will typically show more digital "noise" as a result, of course, so you should plan to apply some noise reduction later during post-processing.
    Another possibility, you mention using flash. There are a lot of variables, but it's also possible the camera was showing "busy" while the flash was recycling (recharging, if you will). If using the built-in flash in particular, the duration of recycling can be slower than it would be with an external, self-powered flash. This is because the built-in relies upon the camera's main battery for power. As the power level of that battery is reduced, the duration of recycling will grow longer.
    Also when using flash, after a certain number of "pops" are done within a certain time period, most flashes have a protection featyre to prevent them from overheating, by stopping any additional flashes for a while, giving the flash time to cool off.
    If you merely touched the camera with wet hands, it's possible but not certain that the dampness might have damaged the camera in some way. Essentially, some water has to intrude into the circuitry and cause the camera to short out to cause a problem. The 70D has some sealing and resistance, though maybe not as much as more high end cameras. But no Canon DSLR is completely waterproof, either. I'd be particularly careful if changing memory cards or lens or batteries, not to let water get inside. But I've gotten soaked in a sudden, heavy downpour while carrying a pair of older and less well sealed 30Ds without any problem. Once I got to shelter I turned the cameras off, removed all the batteries & memory cards, removed the lens and propped open the memory card & battery doors,  then let them sit to dry for a several days. Both worked just fine afterward.
    Unless the camera gets splashed with water... or dunked in it... it's rare for water to get inside. I think it unlikely to happen merely because your hands were wet. But, it only takes a single drop in just the wrong place, so I'm not entirely ruling it out as a possibility, either.
    Salt water is worse than fresh water. The salt increases the waters conductivity and is corrosive too. If the outside of the camera got wet from your hands, you might want to wipe it down with a lightly dampened, lint free rag or a pre-moistened "monitor wipe" or similar, just to be sure that any salts or minerals are removed. Stay off the optics of the lens and viewfinder, though. If those need cleaning too, use lens cleaning procedures instead.  
    I do not recommend putting a camera in rice to dry it out, other than extreme emergencies. Rice gives off dust, which can intrude places you don't want it and make for problems too. Better is to use some sort of dessicant in a package that prevents dust... a lot of people who shoot in humid environments will keep a package of dessicant in their camera bag. For example: 40gm dessicant in aluminum tin with indicator. This can be dried in an oven at low heat and reused over and over. It has a "saturation" indicator on it.
    Prevention is the best solution. I recommend getting some sort of protective cover for your camera if you will be using it at the beach a lot. Not just to keep water off it, but also sand can cause problems if it finds it's way into some of the camera's nooks and crannies. There are raincovers you can purchase, or you can simply make one out of a plastic bag, some gaffer or duct tape and rubber bands. For really wet work very close to surf or right in the water, there are fully sealed underwater housing ranging from relatively inexpensive, heavy duty plastic bags that might serve near the surface, to diving rigs that can be used doen to 100 feet or more depth, but cost a whole heck of a lot more. These also often limit the lenses you can use with the camera, and might require special flashes be used.
    Hope this helps and your camera is fine.
    Alan Myers
    San Jose, Calif., USA
    "Walk softly and carry a big lens."
    GEAR: 5DII, 7D(x2), 50D(x3), some other cameras, various lenses & accessories
    FLICKR & PRINTROOM 

  • Main podcast image appearing but thumbnail/directory image wont display?

    hey all,
    i have my podcast working fine in itunes now and the image works ok on the main podcast page. however i still can't see a smaller version appear when searching for my podcast in the main listings. the smaller version still has the generic purple icon.
    any reason for this?

    Since you upload only the one image, from which both the main one and the small one are generated, I would assume that it is an iTunes Store issue about which you can't directly do anything. I can only suggest you (and everyone else with the same problem) contacts the Support team:
    http://www.apple.com/support/itunes/store/podcast/

  • Help, embeded images wont display

    I recently changed my code, that worked, to access images and
    videos from another drive. But now, some of my embeded images dont
    show up. I use
    quote:
    source="@Embed(source='assets/plane_front_view.jpg')"
    to embed the image, where assets is in the
    project folder. My question is, when i export this to a .air file,
    are the embedded images part of the .air file? The application
    works when i run it in Flex Builder, but not when i run the .air
    file.

    Can anyone help me out, im just wondering where the file gets
    the embeded files when its exported and ran. Are they included in
    the package?

  • Images wont display

    I recently formatted my macbook (intel) and reinstalled everything back on (as this is my first mac). I put all of the info for iweb back in the right places but now i have come to modify my webpage whenever I publish it it puts a black rectangle wherever i put a photo.
    Everything else works great but whenever i put an image in, on any page it publishes them as this black rectangle. dead frustrating.

    Make sure that you are also uploading the "X"_Files folder for the page you are updating. I just spent two hours trying to figure this out until I realized I was just sending the page file to my server and not the associated files (images etc.).
    Produce | Shoot | Edit
    Take Two Visual Media
    http://www.take2vm.com
    Message was edited by: take2visualmedia

  • No images or form elements are displaying in Firefox, used to work but not after an update

    Virtually no images are displaying in Firefox, mainly background images - but on every website. Also, form elements are often not visible. Didn't happen before; new Vaio laptop running windows 7 - it can't all be bad coding. Yes, load images automatically is checked etc.
    == This happened ==
    Every time Firefox opened
    == After some update of the software

    See:
    [[Website colors are wrong]]
    [[Websites look wrong]]

Maybe you are looking for

  • Dont work backup

    I try backup my 3G and didn't work it. Stack up 40% try make this file again again Manifest.plist.tmp 6hours+ and don't finish. Why? Whats problem? I delete old backup, maybe wrong anything but not work it. Help, what to do. Or take back T-mobile or

  • Macbook Pro 13" Screen Model 9CAO

    This is the screen that I have on my new Macbook Pro. Would anyone out there have a screen profile calibration for this screen model that I could add to my screen (display) profiles. I have tried to do simple calibrations on my own but unfortunately

  • Help: Template for FORMS

    I am working on a set of forms. I'd like to call one of the form be template. It has: 1. Form level triggers; 2. Button controls; 3. Message controls; these features can be applied to all about 20 forms except for very minor changes. I'd like all oth

  • After install of OS X ML, do I need to re-install Adobe Flash  Drive Manager?

    Do I have to re-install Adobe Flash Drive Manager? I do not see it after instaling ML.

  • 5.1 Suround over HDMI in 10.8.2 and in bootcamp

    Hello everybody, just purchased my new Mac Mini 2012 i5 with Intel HD4000 Graphics. so far everything works well, in OSX and also in Wun 7 via bootcamp, except the following problem. I adjusted my speaker setup in apple audio/midi setup utility to 5.