Image fails to appear on a jsp if path to jsp is not default

Hi,
Similarly to one of the tutorials, I dragged and dropped an image (edit button) to a jsp page. When doing exactly as the tutorial says, the image shows fine. But after a small modification which is saving the JSP file under the WEB-INF folder
-> html_public/WEB-INF/JSP/x.jsp the image stopped showing. The image fails to appear as if the path to the image was wrong (ie shows a blank square with a small X in it). if I right click this missing image(blank square) on the jsp page and I choose "open ../../images/x.gif then a new window opens with the image showing fine.
Is anyone able to reproduce this error or maybe knows a workaround for this ?
I am using Jdev 10.1.2 on Windows XP.
TIA
Michael

Hi,
I copied the too lines but it gives me the same result as before.
<% String resourcePath = request.getContextPath(); %>
<.img height="21" width="39" src="<%=resourcePath%>/images/button_edit.gif"/>
I dragged and dropped the image to my jsp to make sure I didn't make any syntax errors, but it looks similar ti the above and both give the same annoying error.
<.img height="21" width="39" src="../../images/button_edit.gif"/>
Any ideas?
TIA
p.s. I added the dot after the < character in this post so that the forum program won't treat the statement as html tag.
Michael

Similar Messages

  • Images fail to appear in pdf when saving as pdf in formscentral

    Images fail to appear in pdf when saving as pdf in formscentral, am I doing something wrong?
    Image is saved as a jpg and appears on the Formscentral form but is not there on the pdf

    Sorted it out the image was in CMYK format, saved it to RGB, and it worked

  • Image Capture Boot Image Fails with 0xc000000f

    I am trying to capture a Windows 8.1 Enterprise (with Update) x64 installation using WDS, but the Capture Image fails to load. I used the boot.wim from the Windows Server 2012 R2 (with Update) ISO to create a boot image in WDS and then a capture image from
    it. After I press F12 and the progress bar finishes the following message appears:
    This only happens when I boot the capture image - the original boot image that I imported in WDS boots normally. I also tried with the Windows 8.1 (with Update) boot.wim, but the issue reoccurs. This is a Hyper-V VM on Windows Server
    2012. Is this a problem with the recent update?

    Hi,
    We’re currently experiencing exactly the same issue. Also a fully-updated Server 2012R2 (with the recent KB2919355 update) machine.
    So far, I found two other posts with exactly the same issue:
    1) http://wp.secretnest.info/?p=1474
    2)
    http://community.spiceworks.com/topic/472581-wds-capture-image-winload-exe-corrupt-or-missing
    According to these posts it seems like the issue occurs after the first time a capture image based upon a Windows 8.1 or Server2012R2 boot.wim is created.
    What I’ve tried so far is removing the server role, deleting the WDS store, rebooting the server and start over with a Windows 7 boot.wim. The normal boot.wim starts ok, but the created capture image doesn’t.
    So the process of creating the capture boot image did ‘something’ in a way the new boot.wim differences from the old boot.wim. To find out what, I first mounted the new .wim file to see if winload.exe is actually there – it is both in
    system32 as well as systen32\boot. So my second guess was that the Windows Boot Manager cannot find the windows loader, because of an incorrect declaration of disks in the BCD store.
    I used BCDEDIT to show the differences between the working and non-working boot images:
    Windows Boot Loader
    identifier {1d214c07-6892-401c-a762-04647ad38560}
    device ramdisk=[boot]\Boot\x64\Images\boot.wim,{b321afc0-8a23-4
    961-85dd-a10f3c46473f}
    description Windows 7 Boot Image
    osdevice ramdisk=[boot]\Boot\x64\Images\boot.wim,{68d9e51c-a129-4
    ee1-9725-2ab00a957daf}
    systemroot \WINDOWS
    detecthal Yes
    winpe Yes
    Device options
    identifier {b321afc0-8a23-4961-85dd-a10f3c46473f}
    inherit {68d9e51c-a129-4ee1-9725-2ab00a957daf}
    ramdiskmcenabled No
    ramdiskmctftpfallback Yes
    -- Second - Non Working disk --
    Windows Boot Loader
    identifier {872352a0-0ad9-46f6-8612-1aed71ea8534}
    device ramdisk=[boot]\Boot\x64\Images\boot-win7-capture.wim,{7a
    b86a3a-3651-4f50-a748-34f3e784158c}
    description Windows 7 Capture
    osdevice ramdisk=[boot]\Boot\x64\Images\boot-win7-capture.wim,{68
    d9e51c-a129-4ee1-9725-2ab00a957daf}
    systemroot \WINDOWS
    detecthal Yes
    winpe Yes
    Device options
    identifier {7ab86a3a-3651-4f50-a748-34f3e784158c}
    inherit {68d9e51c-a129-4ee1-9725-2ab00a957daf}
    ramdiskmcenabled No
    ramdiskmctftpfallback Yes
    So the ID for the osdevice is the same, and only the device is different, but mentioned correctly under Device options (as far as my knowledge goes in this subject). I hope there will be a solution anytime soon.

  • When I download the 3.6.3 version I get a warning pop up saying 'the following disk images failed to mount'. What do I need to do to stop this from happening?

    After downloading the a pop up box called Warning appears with saying 'The following disk images failed to mount' and below that there is a table that has Image with a Firefox 3.6.3 and another field called Reason saying Corrupt image. The current version of firefox I am using is 2.0.0.7
    == This happened ==
    Every time Firefox opened
    == Recently when trying to download a newer version

    Firefox 3.0 and 3.5/6 versions require at least Mac OS X 10.4
    http://www.mozilla.com/en-US/firefox/system-requirements.html - Mozilla Firefox 3.6 System Requirements
    Firefox 2.0.0.20 is the last release that runs on Mac OS X 10.2 and 10.3
    See http://kb.mozillazine.org/Installing_Firefox
    Mac: http://download.mozilla.org/?product=firefox-2.0.0.20&os=osx&lang=en-US

  • Hello! i downloaded OS X Mavericks on my mac .since then my computer didn't restart properly.My desktop image doesn't appear after logging in and i'm unable to shut it down.

    Hello! I downloaded OS X Mavericks on my Mac and my pc didn't restart properly.my desktop image doesn't appear and i can't shut down my pc. what can i do ?

    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
    SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
    View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter "BOOT_TIME" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Note the timestamps of the BOOT_TIME log messages, which refer to the times when the system was started. Now clear the search box and scroll back in the log to the last boot time when you had the problem. Select the messages logged before the boot, during the time something abnormal was happening. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    For example, if the system was unresponsive or was failing to shut down for three minutes before you forced a restart, post the messages timestamped within three minutes before the boot time, not after. Please include the BOOT_TIME message at the end of the log extract—not at the beginning.
    If there are long runs of repeated messages, please post only one example of each. Don’t post many repetitions of the same message.
    ☞ When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Step 2
    In the Console window, select
    DIAGNOSTIC AND USAGE INFORMATION ▹ System Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. If you don't see that list, select
    View ▹ Show Log List
    from the menu bar.
    There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of reports. A crash report has a name that begins with the name of the crashed process and ends in ".crash". A panic report has a name that begins with "Kernel" and ends in ".panic". Select the most recent of each. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    ☞ If you don't see any reports listed, but you know there was a crash or panic, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    ☞ Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • Email graphics fail to appear

    Graphics fail to appear in received emails and no links to them. They do appear if I forward the message. I also get a high memory usage by fire fox quite often.

    Sorted it out the image was in CMYK format, saved it to RGB, and it worked

  • "Disk Images Fail to Mount/ OS X 10.4.10/Security Update 2007-006?"

    Whilst downloading the most recent Mac OSX Update, 10.4.10 to a PPC G3, 600 MHz, with 1 GB SDRAM, I received an un-explained error message. Since then, my USB Web Cam doesn't function, some applications don't load, and I consistently get a Warning Message that disk images fail to mount as device not configured. Moreover, I got the distinct impression the aforementioned issues were related to the problem of installing Security Update 2007-006 which was roughly released at the same time.
    How can I proceed to get matters back to normal? Would deeply appreciate advice from Apple Forum/Technical Support person(s) in all convenient speed. SOS!
    Yours sincerely,
    Joseph.
    Power PC G3   Mac OS X (10.4.10)   How do I uninstall the 10.4.10 update?

    The problem took a somewhat bizarre twist when I got a phone call just after double clicking on a disk image file set to open with DiskImageMounter. When I came back from the phone call (about 2 minutes), the disk image was mounted, the MacBook wasn't frozen, and everything worked. With repeated testing, it now appears that both DiskImageMounter and Disk Utility hang for 65-75 seconds after starting the process of mounting a disk image and then complete the task successfully. Deleting the two cache files eliminates the hang (spinning beach ball), but only for a short while.

  • Custom Page Layout Columns Fail to Appear Outside Preview

    I created a custom page layout (jsp) in the Netweaver Developer Studio and used it as a template to create a page.  The page layout has 7 containers/columns.  When I create a page using that template and view the page object's layout, everything looks fine, and once I've assigned an iView to each column and preview the page, it looks good too - all iviews are there.  When I assign it to a role and preview the page from there, it also looks fine. 
    However, here is the problem: when I navigate to the role on the portal to view the page, the last (bottom) two iviews fail to appear, as if those iviews or columns were never assigned. 
    Is this a problem with having too many columns in a page layout?  Has anyone had this problem before?
    I tried deleting columns 4 and 5 in the page layout so that there were only 5 columns total (but the last two were the same last two from before), and that worked perfectly well.  When I added just one more, things got messed up again.  Please help.

    Just an update...
    When I create a 1 column (full width) page (not using a custom page layout or anything), and then add the problem page I was talking about above to this 1 column page (via deltaLink), and add this new page to the role, the new page displays the custom page perfectly, just as the preview shows.  The old page still refuses to display the last two columns (unlike its preview), but they appear in the old page WITHIN the new page.  I don't know why this is.
    Mainly for curiosity but also because I do not necessarily wish to use this solution (I will need to create many pages and this will double the number of pages to create), I would appreciate it if people could continue to offer suggestions.
    Thanks!
    Adele

  • S650 tool dl image fail

    hello every body
    about 2 weeks ago i updated my s650 phone to 4.4.2 but because of battery drain problem , decided to flash my phone using flash tool to 4.2.2(official version S650_ROW_S116_140423)
    any way
    i downloaded it and all tools , started flash_tool.exe and setup every thing.same as toutarial below !
    ROM Installation:
    - Unpack the ROM
    - Unpack FlashTools, and Click on Flash_tool.exe
    - Select a the MT6582_Android_scatter.txt from the unpacked ROM
    - Wait file to be added into Flash Tool
    - Choose Option –> USB Model, click USB Model
       –> Choose Option –> DA DownLoad All –>Speed –> High Speed, click High Speed
    - Turn off your phone, remove the battery. (YES remove the battery)
    - "Press F9 (hit Download button) "    OR    "  if upgrade ROM Firmware->Upgrade "
    - Now connect your phone into the computer via USB data cable. 
    - The process will start and a red progress bar will appear –> purple–> yellow.
    - When done, Green circle pops up!!
    well i removed my battery , pressed F9 and connected my phone to pc after download process completed.
    as i did that , progress bar's color change to red but my pc freezed after while !
    and here is the problem.
    when i connect my phone to pc , i can see it in device manager that is connected but after 2 or 3 second it will be disapeared from device manager list. even when i use USBDeview it says it is not connect (but it is).
    i installed drivers too.
    so i guess in flash process my s650 disconnected and now when i want to power it on it says:
    tool dl image fail !
    what can i do?
    tank you

    Hi ALIKING
    Can you enter the recovery mode(Vol+/- and Power)?
    My guess is that you messed up the SP Drivers(that's why the flash tool doesn't work).I suppose you're running Windows 7.
    I suggest uninstalling/reinstalling them(SP drivers)>follow the first part of message7 >
    https://forums.lenovo.com/t5/Lenovo-Phones/Lenove-​S650-sound-issue/m-p/1413747/highlight/true#M3660  (''MT65xx Preloader'' will pop just for a short time so you'll have to be quick !)
    If all works out try using the V3 Flash Tool.
    Let me know how it goes.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as ''ACCEPT AS SOLUTION"! 
    Unsolicited PM's will not be answered! ....Please post your question/s in the appropriate forum board.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • JPEG image fails to save on Linux and Mac

    Gentlemen,
    The following code extract works fine on windowsXP platform but fails for Linux with a java.lang.ClassCastException and gives a black picture as output on Mac OSX.
    Any ideas why?
    On Linux, I'm using Blackdown 1.4.2
      public void save_Image(String file) {
        try {
          if(file.toLowerCase().indexOf(".jpg")==-1 && file.toLowerCase().indexOf(".jpeg")==-1) file+=".jpg";
          FileOutputStream out = new FileOutputStream(file);
          BufferedImage image = (BufferedImage)createImage(getWidth(), getHeight());
          Graphics g = image.getGraphics();
          paint(g);
          JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
          JPEGEncodeParam jep = encoder.getDefaultJPEGEncodeParam(image);
          jep.setQuality(1.0f, false);
          encoder.setJPEGEncodeParam(jep);
          encoder.encode(image);
          g.dispose();
          out.close();
        }catch(FileNotFoundException fnfe) {
          System.err.println("File not found: " + file);
        }catch(IOException ioe){ System.err.println("Could not write file: " + file); }
      }The complete program can be found on http://impact.sf.net
    Any help appreciated
    /Jonas Forssell

    Hi,
    I copied the too lines but it gives me the same result as before.
    <% String resourcePath = request.getContextPath(); %>
    <.img height="21" width="39" src="<%=resourcePath%>/images/button_edit.gif"/>
    I dragged and dropped the image to my jsp to make sure I didn't make any syntax errors, but it looks similar ti the above and both give the same annoying error.
    <.img height="21" width="39" src="../../images/button_edit.gif"/>
    Any ideas?
    TIA
    p.s. I added the dot after the < character in this post so that the forum program won't treat the statement as html tag.
    Michael

  • System Image Fails on Windows 8.1 Pro

    Creating an image fails giving the error message shown in the attachment.   I found that the Virtual Disk and Volume Shadow Copy services were set to manual so I started them and changed startup to automatic.  The failure remains as shown.  Then, I rebooted and again got the same error message.  It fails when using an external hard drive or DVDs
    Has anyone experienced something similar when attempting to create an image and managed to overcome it?
    Attachments:
    Image failure.PNG ‏13 KB

    I attempted to install the suggested update, but it would not install as I have recently installed 8.1.  I am beginning to suspect that the problem lies in the 8.1 package in that it needs a specific update similar to the one for 8.  I examined source and destination drives in disk manager and found that the free space is not the issue.  All free space greatly exceeds the minimum levels.  I also checked usn journal size and that is not an issue either.  It might be wise to wait for a bit to see if upcoming updates will fix the problem.  My last successful update was last week when I still had Windows 8.  I have backup imaging set every Wednesday.
    Attachments:
    Disk Partitions.PNG ‏26 KB

  • I want to edit my raw images on cs5 photoshop.  But when I go to open the .CR2 file it says  '' Could not complete your request because the file appears to be from a camera model which is not supported by the installed version of Camera Raw. Please visit

    I want to edit my raw images on cs5 photoshop.  But when I go to open the .CR2 file it says 
    '' Could not complete your request because the file appears to be from a camera model which is not supported by the installed version of Camera Raw. Please visit the Camera Raw help documentation for additional information.  '' 
    When I go to updates in photoshop help i try to update photoshop and photoshop camera raw but it then says 
    '' Updates could not be applied the error log file may help you in identifying the problem. Then, try updating again. If the problems persist, contact customer support for further assistance. 
    Photoshop Camera Raw 8.7.1(CS6) There was an error installing this update. Please quit and try again later. Error Code: U44M1I216 ''  
    I dont know how to get around this please help

    CR2 files from which Canon camera?
    Supported cameras are listed here
    Camera Raw plug-in | Supported cameras

  • When my iPhone 4S (with ios7) experiences a failed call while connected to my Bluetooth hands free in my car(screen locked) the failed call appears on the locked screen, as it should, then when I unlock the phone it automatically redials the failed call,

    When my iPhone 4S (with ios7) experiences a failed call while connected to my Bluetooth hands free in my car(screen locked) the failed call appears on the locked screen, as it should, the problem arises whenever I unlock the phone, it automatically redials the last failed call, it doesn't do this with missed calls that are on the locked screen, if any. It is really annoying as sometimes the phone doesn't respond to attempts to end the call before it connects to the number. I then have to explain that it was my phone and not me, I look like an idiot, which I don't really need any extra help with!! Does anyone have any ideas? I don't want to stop missed call from showing in the locked screen but it might be associated with the failed calls and therefore be the only resolution

    I have had the same issue which was driving me mad but think I have just found a way around it. In iOS 7 if you swipe up on the lock screen to access quick settings and go into timer then click the home button you get into the phone without calling the person back. Not a great 'fix' but hope it works for you. Come on Apple this isn't good enough, fix this bug otherwise you will lose your customers.

  • 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

  • CDs, DVDs, disk images won't appear in Sidebar or on Desktop

    Hello,
    Brand new iMac 2.16, right out of the box.
    CDs, DVDs, and Disk Images won't appear on the desktop or in the Sidebar. Nothing is shown over the horizontal gray line at the top of the sidebar, no Macintosh HD, Servers, etc. Disk Images are fully functional, ie Disk Utility recognizes and mounts them just fine.
    I checked Mac Help and followed its instructions:
    (1) In Finder preferences:Pane:General, all 'Show These Items on the Desktop' boxes are checked.
    (2) In Finder preferences:Pane:Sidebar, I checked all boxes under "Show These Items in the Sidebar. BUT these changes are NOT retained. After I close the Preferences, the Sidebar does not change. If I re-open the Sidebar preferences, the relevant boxes are now unchecked, as if I'd never done a thing.
    Restarting was the only way to fix the problem. Thereafter, the upper items in the Sidebar (Macintosh HD, external drives, iPod, CDs) sometimes SPONTANEOUSLY disappear. They still show up on the desktop, but tweaking the Sidebar preferences is again ineffective. Restarting is the only solution.
    Thank you for your help,
    Andy

    Hi Andy, Welcome to Apple's Users Help Users Forums.
    1] Everything elmac says is helpful and correct.
    2] An upgrade to 10.4.8 with the 10.4.8 Combo from blue apple / Mac OS Updates might fix your hiccup. If you don't want .8 then .7 combo.
    3] [OT] For some minor security issues, it is better to surf the internet in a standard account. If you are surfing in an admin account then here is how to switch and maintain prefs.
    Set up a new account in System Preferences / Accounts / +
    and make it have admin priviledges. Be sure to remember short name and password since you will be asked to "authenticate" when running in your standard account. This new account is often called "test" in these forums.
    Once that is done convert your regular account to standard.
    Good Luck, JP

Maybe you are looking for