Image doesn't display

I have index.jsp at the root level. I this redirects to xrate.jsp at the following path: WEB-INF/views/jsp. At the same level is include.jsp and includeTop.jsp. My images are at WEB-INF/images. CSS files are at WEB-INF/styles. Here's thier jsp declaration code:
xrate.jsp
<%@ include file="include.jsp"%>
<%@ include file="includeTop.jsp"%>
<html>
     <head>
          <title></title>
     </head>
     <body>     
          <h1>
                Application - Borrower System
          </h1>
     </body>
</html>include.jsp
<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8"
    contentType="text/html; charset=utf-8"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>includeTop.jsp
<%@ include file="/WEB-INF/views/jsp/include.jsp"%>
<html>
    <head>
        <title></title>
        <link rel="stylesheet" type="text/css" href="../../styles/xrate.css" />
    </head>
    <body>
        <div id="logo">
            <img src="../../images/xrate-logo.jpg" width="720"  height="140" border="0" alt="Logo" />
        </div>
    </body>
</html>xrate.css
div#logo {
     width: 720px;
     height: 140px;
     background: #A8A8A8;
}When xrate.jsp loads, I get everything except the image doesn't display, just its placeholder with the alternate text.
I am using MyEclipse's jsp visual designer and in the preview mode, the image properly shows. I've checked the deployed files and everything is in the correct location. Also, the browser is set to allow images to download.
Any ideas anyone??

Take your images/styles out of the WEB-INF directory.
The WEB-INF directory is protected from the browser.
Nothing requested from the WEB-INF directory will be served directly. You can forward/include these resources from other servlets/jsps but they can't be accessed from a direct url.
Shifting images/styles out of the WEB-INF directory should fix it.
You will of course have to fix your links.
Note that links are resolved relative to the requesting uri (or the html <base> tag if present), not necessarily to the actual location of the JSP.

Similar Messages

  • Image Doesn't Display in Region

    Hi All,
    i have add picture of employee in my form with report option.employee picture is display in report .
    For editing i have created an region for edit Employee Image .
    Now problem is when i click on Edit Button in Report then control move to second page but Emploee image Does not display in Image Region .
    My Image Region Code
    Image Region Condition PL/SQl Funtionon Body Returning Boolean
    declare
    begin
      if :P20_EMPLOYEE_ID is not null then
        for c1 in (select nvl(dbms_lob.getlength(EMP_IMAGE),0) l
                   from HR_EMP_PERSONAL_INFO where EMPLOYEE_ID = :P20_EMPLOYEE_ID)
        loop
          if c1.l > 0 then
            return true;
          end if;
        end loop;
      end if;
      return false;
    end;i have created one Display as Text (Save State ) ITEM.
    Source Type
    return '<img src="'||apex_util.get_blob_file_src('P20_EMP_IMAGE',:P20_EMPLOYEE_ID)||'" />';Item Condition type Exists ( SQL Query Returning at least One Row)
    SELECT mimetype from HR_EMP_PERSONAL_INFO where EMPLOYEE_ID = :P20_EMPLOYEE_ID and mimetype like 'image%'My First page Report Query
    select EMPLOYEE_ID,
    EMP_NAME,
    EMP_DOB,
    EMP_MARITAL_STATUS,
    LOCATION,
    DESIGNATION,
    decode(nvl(dbms_lob.getlength(EMP_IMAGE),0),0,null,'<img src="'||apex_util.get_blob_file_src('P20_EMP_IMAGE',EMPLOYEE_ID)||'" height="75" width="75" />') Picture from HR_EMP_PERSONAL_INFO
      Where is i am wrong .How can i display image in Image Region.
    Thanks
    Edited by: 805629 on Feb 2, 2011 2:34 AM
    Edited by: 805629 on Feb 2, 2011 2:35 AM
    Edited by: 805629 on Feb 2, 2011 2:36 AM
    Edited by: 805629 on Feb 2, 2011 2:43 AM

    Hi jairohernan ,
    use WORKSPACE_IMAGES or APP_IMAGES instead of IMAGE_PREFIX
    <img src ="#WORKSPACE_IMAGES#LOGO.jpg" />
    Note : Give More Details to get quick solution.
    Regards,
    Jitendra

  • Image doesn't display in my autoresponder email

    Hi,
    I have setup an autoresponder email so when someone completes my webform they receive an email with my signature (which includes an image which I uploaded to the images folder and inserted into the Auto responder) but the image isn't displaying.  Any help would be appreciated.
    Thanks,
    Tammy

    Make sure that the image source (src) has an absolute path ie src='http://www.yourwebsiteaddress.com'. Also, note that some email clients will not display an image if it does not have width and height declarations...but it is likely that the former is the issue...
    @webmosphere
    www.webmosphere.co.uk

  • Images doesn't display at HTML export

    Hi,
    I'm have build a site and export it as HTML but after uploding it to server the images isn't display.
    At my own PC the pictures look OK and link work fine.
    The site is Home
    What is can be the problem ? I have a friend using the same parmeters I used and we upload his site and it's work OK.
    also - why can't he open my muse file as it's newer ? is there a way to save it as an old version ?
    Thanks,
    Eyal

    Hi.
    Thanks for your reply.
    I upload the site using 3rd party FTP client. also checked the the files at the FTP site and images are there.
    is it because its trail version ?
    Regards,
    Eyal

  • Image doesn't display in the report

    I have a report(template=hide and show region).
    Below is the code. Any pointers would be helpful
    select
    CASE
    WHEN test = '501' THEN '<img src="#APP_IMAGES#test.png"/>'
    ELSE '-'
    END test,
    select a,b,c
    from EMPS
    order by a,b
    Running this doesn't show image instead shows <img src="wwv_flow_file_mgr.get_file?p_security_group_id=13631408718475431&p_flow_id=172&p_fname=test.png"/>
    what should I do to avoid this.
    Thanks in advance
    Pravish

    Edit the report column and in the column attributes change the "Display As" field from "Display as Text (escape special characters, does not save state)" to "Standard Report Column".

  • Background image doesn't display in browserlab

    I am using dw cs5 to view my pages in browserlab.  I have a background color in the body and an image in my main div. and sometime the backgroundin my main container div will display and other times it will not,  I am new to browser lab and am using a windows 7 64 bit pc is this an issue with browser lab or with my design.  I have checked my design and cannot find any obvious issues.  Also on noticed on some browsers, generally firefox or chrome when I role my cursor over a link it recognizes it and gives me the option to select it but in ie browsers it does not is this normal.

    Hi odiekat,
    It's difficult to say whether this is an issue with your page or with BrowserLab without being able to view the page ourselves. When you test in BrowserLab, do you see the problem with all the browsers you're testing in, or only some? Can you try bumping up the screenshot delay setting (the numeric spinner next to the URL entry field) to see if that makes a difference?
    Is there a public URL you can point us to so we can take a look at it ourselves, or could you zip up and email all the needed files to me: mrausch (at) adobe (dot) com ?
    Mark

  • Imported image doesn't display in slideshow

    I'm trying to create a slideshow in iPhoto 5 that uses a Photoshop document (saved as a .jpg) as the title page. I'm totally mystified...the image shows up as a thumbnail in both my library and the slideshow scroll bar but it doesn't show up in the slide show itself. When it's time for that slide to play it is just blank. I even exported the slideshow to my desktop and played it as the .mov file and that slide is totally blank! What is going on? Can I work around the issue?

    Welcome to the Apple Discussions.
    Selectthe affected slide in the iPhoto Window and right click on it. From the resulting menu select 'Show File (or 'Show Original File' if that's available). A Finder Window should open with the file selected. Does it?
    Regards
    TD

  • Header Image doesn't display with accessability options on

    When I turn on Options, Content, Colors, Then unclick the allow pages to choose own colors checkbox.... the header of my site & slider disappears...
    www.naswil.org
    == This happened ==
    Every time Firefox opened
    == I check the box...I can make it stop obviously... but I want that to be an option for visually impaired viewers.

    Don't use background images if you want users to see your website with the "use website colors" option unchecked.
    If you disable website colors then all background images are suppressed in addition of using the default colors.
    You can also look at NoSquint to select default colors instead of using that setting.
    I don't know what NoSquint does with background images, so you have to check that.
    NoSquint - https://addons.mozilla.org/firefox/addon/2592

  • [Solved] w3m doesn't display images in VT

    Hi .
    When running w3m in TTY, images are properly displayed, whereas in a XVT (such as urxvt) images doesn't display at all. How could I fix that?
    The goal is to display images in mutt, using w3m as the default HTML renderer (thanks to ~/.mailcap).
    Thanks!
    [EDIT] Installed xf86-video-fbdev. Plain, efficient.
    Last edited by AddiKT1ve (2009-11-04 19:48:17)

    Thanks for your reply.
    Daren wrote:do you have the option set to load the full article in the pane?
    Without this, it just displays an overview.
    That's right - I don't use that option because it's usually unnecessary: the overview usually does show a thumbnail of the image, and I can avoid loading the entire page.
    Anyway, I noticed that switching from RSS to Atom (for the same feed, I mean) solves the issue - so maybe it was related to the type of feed used.

  • User Uploaded Image won't display on Mac OSX

    I am experiencing something very strange with user uploaded
    images on Mac OSX, latest Debug Flash Player 9, Safari and Firefox
    2. Everything works fine on Windows (XP and Vista) on all major
    browsers.
    A user selects a local image to upload. The file gets
    uploaded to server, resampled, saved to a public location, and a
    response is sent back to the Flash Player in the form of a JSON
    object. The response contains the URL to the uploaded image on the
    server. The Flash Player downloads the image and adds the Loader to
    a sprite that is already on the stage. All appropriate events are
    fired. The progress events show that the image is downloading, and
    the complete and init events are both fired. Using the Charles Web
    debugging Proxy I can verify that everything is working correctly
    (upload and download), and no security violations are occuring.
    Charles even shows the actual image that gets downloaded. However,
    on Mac, the image doesn't display (stays blank, as if it's an empty
    sprite), whereas on PC/Windows the image displays fine.
    I have placed a crossdomain file in the appropriate location
    - even though it is never requested as I don't try to do anything
    with the image's bitmap data.
    Unfortunately, I haven't had a chance to create a new project
    to test this out in, but will do as soon as I can, and post a link.
    Any ideas?
    Many thanks,
    Shaun.

    We had a similar problem, maybe it is related to this (it was
    done in as2, but the real problem was outside flash)
    flash took an enormous time to display thumbs for a gallery
    of images.. and directly in ff on osx, the thumb (about 100x100 px)
    would load only half way.. and again wait for about half a minute
    or more.. and then display. In flash the thumb would remain blank
    until the loading was over.. that is for about half a minute or
    more.
    What this turned out to be, was that the php script on the
    server somehow returned header information that the image had the
    dimensions of the full-sized image. So after all the data for the
    thumb downloaded, the client (browser or flash) would just wait
    until a predefined timeout..
    Since you are resizing uploaded images I thought this could
    be one of the possible reasons, maybe the flash player for osx and
    for windows handle such "missing data" cases differently.

  • Image code doesn't display in Firefox beta 26

    FYI I noticed a difference between browsers on this Test page: http://manotick.net/test.htm
    Both images display in Firefox 25 + Windows7 and Chrome 30.0 + Android 4.2.1
    Top images does not display in FirefoxBeta 26 + Android 4.2.1

    I don't see any difference between Firefox desktop and Firefox for Android on 25 through 28. I don't notice any missing images.
    If possible would you provide a screenshot. On many newer Android phones one can capture the screen by pressing volume down and the power button at the same time.
    Then attach that picture to this post by using the browse button below the Add images: line.

  • APEX doesn't displays images

    Hi everyone!
    After developing an application in APEX on a server (SERVER_DEV) I then migrate the application to other server for final clients(SERVER_EXP). All functionalitys of the applications are working equal and well in both servers but in the server SERVER_EXP the images aren't displayed while in the server SERVER_DEV all images are displayed.
    The application server APEX has the same version in the two servers, and the database is the same for the two applications (and servers). The only difference between servers is the O.S. In server SERVER_DEV is installed FEDORA 8 and in the server SERVER_EXP is installed Windows XP.
    Does anyone have solution for this mistery?
    Regards Pedro.

    Thank you Dan for your reply,
    I have the files stored in the file system. I don't know if it's related but i get the following error:      'Report printing is currently not available, there is no print server configured.' in the Print Attributes of an report with images.
    Appreciate feedaback.
    Pedro

  • XMP doesn't display proper info in Photoshop CS2 for Mac.

    Dear List members:
    I have just recently installed Creative Suite CS2 and begun to explore the functionality of XMP. After purchasing Bruce Fraser's book on Camera Raw for CS2, I downloaded Metalab (Pound Hill Software) and created my first custom XMP panel that can be seen under the file info in Photoshop when an image (digital photo) is open.
    The problem is that I noticed a few odd things and began to question myself if there is some kind of bug or a problem with my installation of CS2.
    1. The window that opens under the file info command has several categories of information on the left to be chosen from, in the following order:
    (1)Description, (2)Camera Data 1, (3)Camera Data 2, (4)Categories, (5)History, (6)IPTC Contact, (7)IPTC Content, (8)IPTC Image, (9)IPTC Status, (10)Adobe Stock Photos, (11)Origin, (12)Advanced
    The Camera Data 1 option when selected opens a panel in the file info window that seems to contain all the information it is supposed to contain. The Camera Data 2 panel, on the other hand, doesn't display any information at all. Although the fields are there, they are empty. The fields are:
    (1)Pixel Dimension X and Y, (2)Orientation, (3)Resolution X and Y, (4)Resolution Unit, (5)Compressed Bits per Pixel, (6)Color Space, (7)Light Source, (8)File Source.
    All these fields are empty but when looking at the same file under Bridge the information is there, displayed under the metadata menu.
    This is something I noticed "before" installing Metalab so I know it is not a compatibility issue generated by the installation of the software.
    After installing CS2 I noticed that CS1 remained installed in my system. The version I purchased of CS2 is the upgrade one. Since I have no use for CS1 as I am now totally converted to CS2, I would like to uninstall CS1. The following are some of the questions I have:
    1. How can I uninstall CS1 without causing any problems to my installation of CS1 ? Is there an uninstall utility with the software or will I have to uninstall the entire package manually ?
    2. My G5 came with only one internal 160 GB drive where I originally installed CS1. I then purchased another internal 400 GB HD and copied the original drive onto it. This week I am going to replace the original 160 GB drive with a second 400 GB drive so that I can do regular "mirror image" back-ups between the two drives. Shold I expect any problems as I remove the drive where I originally installed CS1 ? Since I used disk utility to "copy" the 160 GB drive onto the 400 GB drive, my understanding it that any Adobe software key or authorization was also transferred to the drive. Is this right ? In case it hasn't, how can I transfer this information so that after I remove the 160 GB drive I will not experience any problems when trying to run CS2 ?
    3. How can I fix the problem with the Camera Data 2 panel under the file info window and command ? I noticed that the folder that is supposed to hold the Custom File Info Panels (HD>Library>Application Support>Adobe>XMP>Custom File Info Panels) has files for CS1 and CS2. Could this be a problem ? There many more files with .dat extenson than there are with the .txt extension. Bruce Fraser specifically says that the ones with the .txt extension are the ones that hold the XMP templates for information related to the image files. The files I have in this folder with the .txt are:
    (1)Camera1_CS2.txt , (2)Camera1.txt , (3)Camera2_CS2.txt , (4)Camera2.txt , (5)Categories.txt , (6)History.txt , (7)IPTC_Contact.txt , (8)IPTC_Content.txt , (9)IPTC_Image.txt , (10)IPTC_Status.txt , (11)StockPhotoInfo.txt
    The only ones that have two separate files one each for CS1 ad CS2 are Camera 1 and Camera 2. Camera 2 seems to be the only that is now non-functional. What should I expect to happen if I were to manually uninstall the ones that relate to CS1 ? Could that cause any problems ?
    My apologies for the long post but I didn't really know how to make it shorter.

    The Photoshop and/or Bridge forums would be more likely places to get answers to your questions. This forum is inhabited more by programmer types interested in implementing the XMP specification in applications we write.
    I'd expect CS2 to ignore CS1 panels so I doubt that's the issue. Panels don't interfere with each other--they just offer different views of the data. In any case, move the extra panels to your desktop and see what happens.
    As far as I know, all you need to do on the Mac is drag the CS1 application folder to the trash to uninstall it.

  • Image as drop-down text link -- image doesn't appear

    (Using Robohelp X5)
    Wondering if anybody has had anything like this happen before
    and can explain it for me???
    First line of topic is type <h1>. At the end of the
    line I have an icon that is a link to drop-down text.
    Here's where it gets weird. I compiled the help and displayed
    the .chm. Looked at the topic, the image doesn't appear, but is
    clickable (and works properly). Used the 'print' option from the
    .chm to print to .pdf. The image appears in the .pdf.
    Looked at the code, can't see anything wrong with it.
    Back in the wysiwyg editor, selected the last character of
    normal text plus the clickable icon, copied and pasted in place (so
    now have
    <text2><dropdown2><text><dropdown>)
    Removed <text><dropdown> (the original content),
    edited the code to use the proper 'name' attribute (because it was
    modified on the paste), recompiled, ran the .chm, everything
    displays properly (the image is there).
    Note: I was having similar problems with it earlier, think I
    fixed it the same way, and everything was okay for a few compiles,
    then started having the problems again.
    At this point, as far as I can see, the .html is the *same*
    as it was before, but now the image appears in the .chm. Colour me
    totally confused :-)
    Anybody have any insights as to why this could be happening?
    Thanks!

    Change what you have now:
    a:link {
        color: #4E8E98;
        text-decoration: none;
    a:visited {
        text-decoration: none;
        color: #4E8E98;
    a:hover {
        text-decoration: none;
        color: black;
    a.dark:active {
        text-decoration: none;
        color: #FFF;
    a.light:link {
        color: #DCDBE1;
        text-decoration: none;
    a.light:visited {
        text-decoration: none;
        color: #DCDBE1;
    a.light:hover {
        text-decoration: none;
        color: #776153;
    a.light:active {
        text-decoration: none;
        color: #FFF;
    a.dark:link {
        color: #4E8E98;
        text-decoration: none;
    a.dark:visited {
        text-decoration: none;
        color: #4E8E98;
    a.dark:hover {
        text-decoration: none;
        color: black;
    a.dark:active {
        text-decoration: none;
        color: #FFF;
    To this:
    /**MAIN LINKS**/
    a {text-decoration: none}
    a:link { color: #4E8E98;}
    a:visited {color: #4E8E98;}
    a:hover { color: #000;}
    a:active, a:focus {color: #FFF;}
    /**SPECIAL LINKS**/
    .light a:link {color: #DCDBE1;}
    .light a:visited {color: #DCDBE1;}
    .light a:hover {color: #776153;}
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Picasa Web albums: doesn't display all uploaded photos. This only happens on my desktop computer. All photos displayed on my laptop.

    Not all of my uploaded photos display in my Picasa web album. All the photos upload, but 17 out of 90 photos don't display. Some are landscape, some are portrait. This is no pattern to what doesn't display (e.g., not every third photo). This only happens when I use my desktop computer. When I use my laptop, all uploaded Picasa web album photos display.

    See:
    * [[Images or animations do not show]]
    * http://kb.mozillazine.org/Images_or_animations_do_not_load
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

Maybe you are looking for

  • How do I set up wireless printing to my Airport Express?

    I run my 17" MBP through a DLink wireless router which is located next to my modem in my basement. I have an Airport Express station (not the Base or the Extreme) which I used to use for wireless iTunes serving to my stereo, but which I now wish to u

  • Absolute URLs  not working when file is on a remote server.

    My client has asked me to provide a template for an investor relations section of their website. The HTML page or template for this page will be at the service providers site, but all the images etc. for the page will be linked to files on my clients

  • IMac struggling with constant pinwheel

    Hi everyone, I'm getting very desperate. My late 2008 iMac 24" is unable to perform simple tasks. I run EyeTV near constantly when the mac is switched on, I think that's where symptoms first began. It would suddenly crash more often before a recordin

  • Customer group report

    Dear Experts,                      customers are classified based on their groups For example: Customer group      Customer 1      customer  2      customer  3 Sales report is required based on Group.Is there any sales & dispatch std report based on

  • My pages application will not open

    my pages application will not open. i get the pinwheel for a while and eventually a message simply stating that the app cannot be opend and a code 1712. this is anew occurance since my maverick upgrade. suggestions?