Images do not show up in web project in J2EE application[/b]

I have cretead a web project in which i hava a servlet and couple of jsp's and some java util classes. This application gets the data from the database and displays it on a screen. Beside displaying, this app also transform the xml document to html using. I have the the XSL Stlesheet under Web Content along with all the jsp's.
I also have images folder under Web-Content which has all the images for this application. When i run the application using Oracle 10g application server within Jdev, the application cannot find the images or the xsl stylesheet. Relative path to images in jsp is /images/someimage.gif while relative path to xsl is /some.xsl. For some reason it cannot find the images or the xsl when the application runs or deployed in OC4J container. Any help on this will be appreciated.
I have checked the path in reference to the context-root and it seems to be correct.

Relative path to images in jsp is /images/someimage.gif while relative path to xsl is /some.xsl.
Is the images dir under the jsp dir?
If the images dir and the jsp dir are at the same level, the relative path would be ../images/someimage.gif

Similar Messages

  • Flash .swf image viewer not showing up in web browser

    when i preview my image viewer from dreamweaver in safari its
    all fine but once uploaded to the web its just blank
    all the code is there.. can anyone help me.. please
    the page is
    http://www.lisamoffattphotography.com/gallery1.html

    In other words, it doesn't appear that your site is properly
    defined in
    Dreamweaver.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Ken Binney" <[email protected]> wrote
    in message
    news:g9j5dk$rep$[email protected]..
    > Your page link points to gallery1 in the root folder of
    your site, but the
    > Scripts folder and the Spry assets folder links are
    pointing to one level
    > above the root.
    >
    >
    > "D.Devito" <[email protected]> wrote in
    message
    > news:g9j1no$npv$[email protected]..
    >> when i preview my image viewer from dreamweaver in
    safari its all fine
    >> but once
    >> uploaded to the web its just blank
    >> all the code is there.. can anyone help me.. please
    >>
    >> the page is
    http://www.lisamoffattphotography.com/gallery1.html
    >>
    >
    >

  • Some email images do not show while using the icloud web app.  I can see the images on my IOS devices and in gmail but I only see a small gray box in the icloud web mail app.  Load HTML images is checked in preferences.

    Some email images do not show while using the icloud web app.  I can see the images on my IOS devices and in gmail but I only see a small gray box in the icloud web mail app.  Load HTML images is checked in preferences.  Is there a solution to this issue?

    I've seen the opposite issue.  My wife recieved an email with jpg attachments.  She couldn't see or print them on her iPhone 4S but they showed up fine in iCloud or in the mail app.  I had her forward the email to herself and then they showed up.  I assume there is an issue with how Apple is processing the attachments and resending causes them to get reformatted in a way that makes them easier to handle.
    So yeah.  Seems like some bugs.  Hope Apple fixes them soon.

  • Crystal Report Images Not Showing - JSP inside /WEB-INF folder

    Hi Experts,
    I am using Crystal report for Eclipse and also using Struts2 and tiles framework combination.
    The problem is when viewing the report all I've got is red X on all images and the graph image also not showing. This is when I use tiles and my jsp is inside the web-inf folder.
    This is my struts link: href="s:url value='/report/reportOpen.action?report=1'
    I've checked that the path to the viewer generated HTML is not correct. see code below.
    src="../../../crystalreportviewers/js/crviewerinclude.js"
    But when I test to access a simple jsp viewer that resides on the web root folder, this works fine but of course this is not what I want to have. I need to have my banner and menus on top of the report page (using tiles)
    This is my jsp link: href="s:url value='/ReportViewer.jsp?report=1'
    Viewer generated HTML below.
    src="crystalreportviewers/js/crviewerinclude.js"
    This might be a common problem and that you can share to me your solution.
    Note: I removed the script tags because I can't submit this entry.
    Thank you  in advance,
    Regards,
    Rulix Batistil
    Crystal Report Images Not Showing - JSP inside /WEB-INF folder

    Hi Saravana,
    After a few experimentation from your idea i was able to figure out the problem and now it is working.
    I don't have to copy the folder to where my jsp resides but still maintains it in the root location:  web/crystalreportviewers
    The changes should always be in web.xml.
    1st: change the crystal_image_uri value to ../crystalreportviewers
    2nd: change crystal_image_use_relative value to "web"
    Change to "web" instead of webapp because that is what I named my web root folder.
    <context-param>
              <param-name>crystal_image_uri</param-name>
              <param-value>../crystalreportviewers</param-value>
         </context-param>
         <context-param>
              <param-name>crystal_image_use_relative</param-name>
              <param-value>web</param-value>
         </context-param>
    Thank you. You showed me the way on how to solve the 3 day problem.
    BTW, my next problem is when clicking on any buttons prev/next/print/export, I got this error HTTP Status 404.
    Well, at least for now I can view my initial report.  I just need to figure out the next issue and with the help of the great people here in the forum.
    Thanks a lot.
    Regards,
    Rulix
    Edited by: Rulix Batistil on Nov 26, 2008 7:27 AM

  • Images do not show up

    I can get some .gif images to show up in my Dreamweaver HTML
    page and can see them when I upload the document.
    Other images are not showing up.
    The images that show up and do not show up are in the same
    "images" folder. All of them have been uploaded.
    The images that show up were created by a software program
    that made them be .gif images.
    The images that do not show up were made in Adobe
    Illustrator. I then imported them into Adobe Photoshop and saved
    them as .gif, .jpg. png. and even used the "save for web" feature.
    I also imported the image into Fireworks and saved it as .gif and
    .jpg.
    None of the copies of the image that I created are showing up
    in a webpage.
    I have used the image icon to place the image. I also went to
    Insert | Image and put the image in that way. Plus I tried the drag
    and drop method to get the image onto the page. In many cases I can
    see the image on the page in Dreamweaver, but not when I upload the
    page. Not even the alt tags with the red X show up online. Each
    image does have an alt tag.
    I have no clue what to do because other .jpg and .gif files
    are showing up as images. Oh, and when I used a .gif version as the
    background, it worked as a background.
    If you know why an image I made will not appear after being
    linked to a webpage and uploaded, please tell what you know. I am
    stumped on this one.
    Thank you for any assistance you can give me.
    Baffled,
    Ntropi

    quote:
    Originally posted by:
    bregent
    Always include a url when you have questions about your web
    pages.
    Sorry, newbie to these forums here.
    here's a link to one of them:
    http://www.onlineschoolsurveys.com/banner_trial_2.html
    With this page I tried using a table and put the images in
    spots in the table. The empty spots are where there should be
    images. The two images that are there were made by other people.
    This link is actually quite obnoxious.
    http://www.onlineschoolsurveys.com/oss_banner.html.
    With this one, again the only image that shows up is one that I
    made originally as a bmp export out of Snap Surveys, turned into a
    gif in Photoshop (I think). In the table toward the bottom with the
    pink squares there should actually be two pink squares, one should
    have an image in it. Being a practice page that I did not expect
    others to look at I left the obnoxious background. If this is too
    annoying, I can remove the background and repost.
    Did you define a site in the site manager?
    I'm sorry but I do not know what this means. I regularly have
    a site at www.onlineschoolsurveys.com. The first link goes to a
    page that is actually a part of the website- I tried using a
    template I know works thinking that maybe the non-templated page
    was flawed. So if you are asking if these were loaded to an active
    website: yes, I regularly have pages at that website, but no, these
    pages are not intended to be a part of my regular website. I was
    just using that space to practice.
    Do the linked images exist within the defined site?
    Yes, the images were uploaded. They should exist in an image
    folder. Although it may be really stupid for me to make a link to
    an unprotected list of files, here is the list of images in my
    images folder:
    http://www.onlineschoolsurveys.com/images/
    Since I am new to using a message board for help, please advise me
    if I should not post such directories in the future.
    Thanks for your quick response.
    Mel

  • Business catalyst site is not showing up on web searches

    I built my site in Muse and published directly from Muse onto Adobe Business Catalyst. It has been a couple of months and this site is not showing up on web searches. I believe it has something to do with my Business Catalyst settings. Frustration has set in and I'm turning to this commuity to seek direction. The site is edgeadvertising.ca
    Should I be looking at Googles webmaster tools?

    Hi edgydoug1,
    You have a challenging case since "Edge Advertising" appears to be a common business name with many other established websites for "Edge Advertising" or "Cutting Edge Advertising" businesses around the world.
    First, I'm going to contradict Gaurav. I may be interpreting what I see on Google incorrectly, but it looks to me as though Google has indexed your site. It's a one page site. Correct?
    A few things you'll want to do to improve the chances searchers will find your site:
    1) Set the Page Title for your page in the Page Properties dialog. I recommend setting it to your business name. You might consider including Winnepeg in the page title, since that will increase the odds that someone looking for "Edge Advertising" in your area will find you, rather than the Edge Advertising in Washington, D.C., Tampa Bay, Fairport, NY, Houston Texas, etc.
    2) You might consider putting your contact information where your copyright currently is.
    3) Enter keywords for your page in the Page Properties dialog Metadata panel. Be sure to include Winnepeg and Manitoba (spelled out), along with your business name and the services you provide.
    4) Pay special attention to where you apply h1, h2, h3 tags via paragraph styles. You should probably make the main "Edge Advertising" title the h1 for the page.
    There are two primary factors to SEO, indexing and page ranking.
    Indexing is about making sure your pages have content that corresponds to what your prospective customer will be searching for. This generally means choosing ~3 search phrases and doing what you can to be sure those phrases and the words in those phrases are used in your site. Your site has quite a bit of live text content, so you're probably doing well but you'll want to think about search phrases and see how well they correspond to words and phrases in your content.
    With a single page site you're limited to a single page title and no filename for the HTML file (since it will be index.html), so you'll want to make sure the page title is good and you make good use of h1, h2, h3 tags. You may also want to add alt tags to your images (if you haven't already). And keywords in your metadata.
    Page ranking is largely about the number of other sources (websites, twitter, facebook, blogs, etc.) that contain links into your site. If lots of other sites are referring to your site, your page ranking will be higher relative to other sites with similar page content.
    Again, given the business name is not unique and many of the other businesses with the same name are likely to offer the same services, it's going to be difficult to differentiate your site to web searchers. You'll want to make sure the geographic location of your business is prominent along with the principals and anything else that may be unique to your business (that also known to web surfers).
    Finally, when you make a change to your site, if you submit your sitemap.xml file to Google using Webmaster Tools it theoretically will encourage Google to re-index your site sooner, though there's no guarantees how long it will take.

  • Why aren't my FW (PNG) image are not showing up

    Hey guys.
    This is really bugging the hell out of me. I feel like I
    can't move on until i can figure out why my PNG images are not
    showing up in preview (F12). They did yesterday before I deleted
    some pages and renamed old pages I no longer needed.
    All my images that was done in FW are in my root folder in
    the file panel. i didn't move any of those. When I double click on
    the image to bring up the "select image source" in the URL it
    starts off with two periods then a slash and then the name of where
    it's located as well as the name of the image. The "relative to":
    is site root. i didn't change any of these setting before I deleted
    and renamed pages in my file panel.
    Oh, and my Ap Divs show up in light gray boxes.
    Please help!
    CS3 Mac

    I'm confused by the subject line! Is this like 'all of your
    base are belong
    to us?' 8)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Dooza" <[email protected]> wrote in message
    news:gki5he$3pu$[email protected]..
    > Why_ATL wrote:
    >> Hey Alan
    >> is the filename exactly what it should be? YES
    >> Are these .png files for web use, or are they PNG
    fireworks original
    >> files
    >> which are very large in file size because they
    contain all the info on
    >> layers and such? They are .png files for the web. I
    can't figure out why
    >> my Div is showing up in preview instead of my images
    There just Div's
    >> with the little blue question mark.
    >>
    >> This is getting harder and harder. I'm trying to
    laugh so i don't get a
    >> head ache over this. This is weird.
    >
    > Without a link we can only make wild stabs in the dark.
    >
    > Dooza

  • I am trying to create an responsive HTML5 output, but images are not showing up.

    When I preview my output, the images are note showing up. It is simply the blank outline of the image with the little image icon in the top left corner.
    As it is compiling I see the message "Warning: Image maps are not converted to relative size". Is there something in the setting that I need to change, or is that even the problem?

    Can you check your output folder: are the images copied to your output? If they are missing, are the images listed in the Project Manager pod in RoboHelp?
    The warning is unrelated. Since image maps work with pixel coordinates, you can't simply make them responsive. You are probably using an image map in your project. This is causing the warning. It is not a problem since the image map will still work. But if the image map is very large, it may give a bad experience on smaller screens. You may have to decide whether to change or remove the image map if you want to support mobile.

  • APERTURE: Small preview images do not show the changes.

    excuse my lousy english...
    Problem with Aperture:
    Small preview images do not show the changes.
    I use Aperture 3 since August 2010. By November and 10 projects later it ran normally.
    Since the project 11 are in the preview images shown (on the bottom bar in the shared representation) and in the pictures in the books no adjustments. I change for example a picture in b / w it remains in the small preview images bunt even though the great View Erbild s / w is. Even in the books then the famous picture colorful and even grobpixelig.
    This is of course in the processing of multiple images per project huntert pretty annoying to have no overview of processed images ...:-(
    I had a third installed for books and not as close a relationship.
    Does anyone have similar experience or know someone how can I fix this?
    Thanks for reading!
    Lokoe

    Lokoe,
    To make sure we understand:
    I change for example a picture in b / w it remains in the small preview images bunt even though the *great View Erbild s / w is*.
    I am not sure what "s/w" is, but I think you mean:
    "I change picture to black and white and the small preview images remain *in color* even though the *big picture in the Viewer* is in B/W."
    Even in the books then the famous picture colorful and even grobpixelig.
    "In the books the selected picture is colorful and even ???"
    "Grobpixelig" -> "grosspixelig" -> "Looks like big pixels???" Not quite sure of the translation. It's been 15 years since I spoke Deutsch!
    nathan

  • Why images are not showing?

    When I add to image to slider or products, the images are not showing and wrting <tag_image no link> or <tag_list image no link>. I already match pictures to image filed on web apps.

    Hi Alfred, so you know you will run into several issues if you do not follow naming conventions with folders and images on the web.
    If you have spaces for example this causes a lot of problems.
    That %20 stuff you see in your links are because you have spaces.
    Any time you have a space in a file or folder you should replace it with a -
    Removing them I can get a 404 error but support will only be the ones who can say if the images are uploaded correctly, they also may have not been saved correctly and are corrupted.
    But what you can try is renaming the folder to...
    granite-cobbles
    And try one of the images to be..
    sawnface-tubled-lrg.jpg
    And see if that works.

  • Div image background not showing

    Hi I am trying to give a div a background image and then place tables etc in the div.  The trouble is the image does not show up.   Any help greatly appreciated.  Regards, Matt.  (Here is the html, followed by the css...)
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <meta name="generator" content="Adobe GoLive" />
    <title>Beermatt Online Home Page</title>
    <link href="css/goldenumber.css" rel="stylesheet" type="text/css" media="all" />
    </head>
    <body>
          <div id="bg">
    <p><a href="index.html">home</a> | <a href="web.html">web design</a> | <a href="photography.html">photography</a> | <a href="editing.html">editing</a> | <a href="contact.html">contact</a> | <a href="downloads/Matt_CV.pdf" target="_blank">cv</a></p>
    </div>
    </body>
    </html>
    body { font-size: 20px; color: white; font-family: tahoma, verdana, arial; background-color: #000000; }
    a:link { color: white; font-size: 16px; text-decoration: none; }
    a:visited { color: white; text-decoration: none; font-size: 16px;}
    a:hover { color: gray; text-decoration: none; font-size: 16px;}
    a:active { text-decoration: none; color: yellow; font-size: 16px;}
    #bg { background-image: url(images/terrain.jpg); background-repeat: no-repeat; margin-right: auto; margin-left: auto; }

    Hi...
    The background image in this CCS style worked fine for me. You might try to include the Width and Height and Visibility...
    #layer1 { background-image: url(Frost.png); background-repeat: no-repeat; height: 132px; width: 262px; left: 18px; top: 18px; position: absolute; visibility: visible; }
    walt

  • Thumbnails of images will not show

    When using bridge on some of my computers, thumbnails of images will not show, only a generic .eps icon.  We are trying to view files from an Art Explosions CD library and are using Bridge CS6 V 5.0.0.399

    Check this:
    Project - Properties - Flex Compiler - Additional compiler options:    -use-network=true
    If this post answered your question or helped, please mark it as such.

  • Image is not showing up on Dialog.

    Hi Guys
    I am getting problem with Dialog. In my Dialog I have created the image field which accepts image from dam by Drag and drop. Whil Iam dropping the image it is showing up inside the Dialog properly and is showing up on the screen also But when I try to edit the image the current image got vanished inside the dialog. I don't understand why it is happening?
    while uploading
    The above image is not showing up while editing. Could you please help me where I am doing wrong?
    here is my dialog.xml
    <normalmode
    jcr:primaryType="cq:Widget"
    collapsed="{Boolean}false"
    collapsible="{Boolean}false"
    hidden="{Boolean}false"
    title="Picture Properties"
    xtype="dialogfieldset">
    <items jcr:primaryType="cq:WidgetCollection">
    <pictureurl
    jcr:primaryType="cq:Widget"
    allowUpload="{Boolean}true"
    autoUploadDelay="1"
    ddGroups="[media]"
    fieldLabel="Picture Link"
    fileNameParameter="./fileName"
    fileReferenceParameter="./fileReference"
    height="{Long}200"
    name="./file"
    requestSuffix="/image.img.png"
    rootpath="/etc/designs/aib/business/images"
    sizeLimit="100"
    uploadUrl="/tmp/upload_test/*"
    xtype="html5smartimage"/>
    <picturealttext
    jcr:primaryType="cq:Widget"
    fieldLabel="Picture Alt Text"
    name="./picturealttext"
    xtype="textfield"/>
    <picturetitletext
    jcr:primaryType="cq:Widget"
    fieldLabel="Picture Title Text"
    name="./picturetitletext"
    xtype="textfield"/>
    </items>
    </normalmode>
    Cheers
    Kirthi

    Hi Jitendra,
    It worked.Perfect. Thank you very much. I want to implement the same in my Custom widget which contains smartimage. But it is not showing up. Here is my Custom widget code for the smartfile but iam not getting Drag and drop jus it is showing up blank. Any idea how can I incorporate the smartfile in my Custom widget.
    // Picture URL
                            this.add(new CQ.Ext.form.Label( {
                                cls : "customwidget-label",
                                text : ""
                            this.bannerImageURL = new CQ.form.SmartFile( {
                                cls : "customwidget-1",
                                fieldLabel : "Picture Link: ",
                                editable:false,
                                allowBlank : false,
                                anchor: '75%',
                                maxLength : 100,
                                cropParameter :"./image/imageCrop",
                                ddGroups : "media",
                                fileNameParameter : "./image/fileName",
                                fileReferenceParameter : "./image/fileReference",
                                mapParameter :"./image/imageMap",
                                rotateParameter : "./image/imageRotate",
                                name : "./image/file",
                                requestSuffix : "/image.img.png",
                                sizeLimit : "100",
                                autoUploadDelay : "1",
                                listeners : {
                                    change : {
                                        scope : this,
                                        fn : this.updateHidden
                                    dialogclose : {
                                        scope : this,
                                        fn : this.updateHidden
                            this.add(this.bannerImageURL);
    Once again thanks for helping me to resolve the issue. The above is another requirement. Any ideas?
    Cheers
    Kirthi

  • Image is not showed in Apps Output

    Hi,
    In Apps output image is not showed, but in report builder output images are showed.
    I imported image from my local system. Is there any path in Apps server to keep images?
    Thanks in advance.
    Regards,
    Kalyan

    Hi,
    Are you working ona Report?. If so please check the concurrent program definition, it should be PDF or Postscript.
    Thanks,
    Robert

  • When I open Photoshop CS6, the image does not show in Photoshop. The image IS open, i.e. the filename is shown on a tab and the image layers show in the layer panel. What is going on?

    Both Photoshop and Bridge open as usual. But when I open an image, the image does not show in the image area. The image filename does show in a tab and the layers show in the layer panel. What is going on and how do I fix this.

    I resolved the problem. It was somehow related to my using Microsoft
    theme pictures. I set Windows to use the basic theme and the problem
    went away. Thank you for the suggestions.
    Jac

Maybe you are looking for

  • PI 7.11 - Alert creation for RFC Exceptions does not work

    Hi folks! In our PI 7.11 SP04 system we have created an Alert Category as well as an Alert Rule to be informed about errorneous messages in the Integration Engine (ABAP). The scenario is synchronous SOAP Axis to sRFC, where the RFC answers with an ex

  • 8.1 can't shut down after installing itunes

    I recently reformatted and did a clean install of window's 8.1 I have done all updates, both windows and drivers and the machine is very smooth and stable. After installing iTunes the computer will no longer shut down, it displays the logging off / s

  • File sent but no rows created in RFC

    File - RFC I can see no errors in the MM, no errors in receiver adapter receiver side CC is showing Green the file is sent succesfully but I dont see any rows created in my RFC help !!!!! regards, Nikhil.

  • Incoming call and sms

    When i get incoming sms and call some contacts not show from contacts. All numbers described in external coding +(country code) local number. Anybody know whats the problem ? Solved! Go to Solution.

  • Extracting unique values from (non-category) columns for chart

    Hello: I've created a worksheet to keep inventory of my Intellivision games.  It has the following columns: Publisher Class Network Title Quantity (misc...) The "Class" represents whether the game is "complete in box" or "loose cartridge."  The "Netw