Tomcat Doesnt display images in browser

HI frnds,
i m hving some prblm wid tomcat server.whenever i display my menu using tomcat 4.1, it displays the text but doesnt display the images,
i hv checkd all the paths are correct.How to solve this prblm
Looking frwrd for an early reply

How are you getting it to display the images?
Do you get a red x to indicate broken image?
Right click it, select properties and see what the requested URL is. Is it correct?
Most probably you are using an absolute link, without taking the web application context name into account

Similar Messages

  • Canot display image in browser?? help!!

    <applet code="yew.yew.dirapplet"
       archive="Signed.jar"
       width=400 height=400>
    </applet>i cant display out the image using appletviewer
    but when i sign in the browser it cant display out the image.
    i try many way but still cant solve tis ploblem.
    I din include the .gif into the jar file onli store in the same directory
    hope some applet expert can help.
    Thanks in advanced

    Do you use getImage??
    Then use it like this:
    this.getImage(this.getCodeBase(),"myfile.jpg"); // same dir as the appletthis.getImage(this.getCodeBase(),"../images/myfile.jpg"); // other dir than the appletStill doesn't work, please give us a full trace and some code where the exception occures.
    To turn the full trace on (windows) you can start the java console, to be found here:
    C:\Program Files\Java\j2re1.4...\bin\jpicpl32.exe
    In the advanced tab you can fill in something for runtime parameters fill in this:
    -Djavaplugin.trace=true -Djavaplugin.trace.option=basic|net|security|ext|liveconnect
    if you cannot start the java console check here:
    C:\Documents and Settings\userName\Application Data\Sun\Java\Deployment\deployment.properties
    I think for linux this is somewhere in youruserdir/java (hidden directory)
    add or change the following line:
    javaplugin.jre.params=-Djavaplugin.trace\=true -Djavaplugin.trace.option\=basic|net|security|ext|liveconnect
    for 1.5:
    deployment.javapi.jre.1.5.0.args=-Djavaplugin.trace\=true -Djavaplugin.trace.option\=basic|net|security|ext|liveconnect
    The trace is here:
    C:\Documents and Settings\your user\Application Data\Sun\Java\Deployment\log\plugin...log
    I think for linux this is somewhere in youruserdir/java (hidden directory)
    Print out the full trace of the exception:
    try{...}catch(Exception e){e.printStackTrace();}

  • Display Image in Browser

    Dear all,
    I have use the JLabel to add the ImageIcon with the filename passed under JPanel. It work on appletviewer but not in Browser.
    The appletviewer can show both ImageIcon at the top and the Text at the bottom. But the browser (IE) can only show the Text only. It seems that ImageIcon cannot be added in JLabel.
    May I missing something on the code?
    Here is my code:
    public final static DataFlavor LABEL_FLAVOR =
    new DataFlavor(JLabel.class, "Label Instances");
    public final static DataFlavor LOCAL_LABEL_FLAVOR = new DataFlavor(
    DataFlavor.javaJVMLocalObjectMimeType +
    "; class=javax.swing.JLabel", "Local Label");
    protected JLabel getLabelFromFile(File f) {
    //ImageIcon icon = new ImageIcon(f.getAbsolutePath());
    ImageIcon icon = new ImageIcon(f.getName());
    JLabel label = new JLabel(icon);
    label.setText(f.getName());
    label.setHorizontalTextPosition(JLabel.CENTER);
    label.setVerticalTextPosition(JLabel.BOTTOM);
    label.addMouseListener(this);
    label.addMouseMotionListener(this);
    return label;
    Thanks a lot!
    Peter

    Hi,
    Theres nothing wrong in ur code.
    the only problem is in IE's version of java(WFC) the File class doesnot have a getAbsolutePath() mehtos instead it uses the getFullPath() method which isn't there in the actual java class.Thats the reason why ur code isn't working on IE.Infact IE(WFC) doesn't implement any of the following methods
    getPath()
    getCanonicalPath()
    getParent()
    getparentFile()
    createNewFile()
    etc
    Maybe u could pass the path of the Image file as a parameter to the applet and then try to display it on the JLabel.
    Hope that helps.
    Regards,
    Partha

  • Safari & chrome doesnt display web images

    safari & chrome doesnt display web images? ow should i solved this, i've done all necessary first aid like clearing all browsing data, cookies etc but still not working..  I am trying to access Ikea website specifically.

    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.

  • Won't display background image in browser.

    My background image displays in dreamweaver and in the live view but it doesn't display in the browser when I try to view in a browser or when I publish the website.  I have spend hours looking for a solution and I am not sure what the problem is. I have checked the code on the following websites and it comes out ok:
    http://jigsaw.w3.org/css-validator/validator
    http://validator.w3.org/check
    I have also tried my code with and without the overflow: hidden;  under #container where the image should be displayed.  (i was trying a new way to design -ie without basic grid and floating everything so the container can be removed if needed)
    here is my code. Please help!!! thank you in advance!!!
    <!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" />
    <title>Jan Kardys' Literary Agency</title>
    <style type="text/css">
    #header {
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        float: left;
        width: 930px;
        color: #3F9;
    #Menu_bar {
        float: left;
        width: 190px;
    #Page_Content {
        float: right;
        width: 725px;
        height: 500px;
    #footer {
        float: left;
        width: 930px;
    #Main_content {
        float: left;
        width: 510px;
    #xtra_content {
        float: right;
        width: 190px;
    #container {
        width:  930px;
        margin: 0 auto;
        background-image: url(/Images/Parchment.gif);
        overflow: hidden;
    </style>
    <script src="file:///C|/Users/james/Documents/DREAMWEAVER SITES/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="file:///C|/Users/james/Documents/DREAMWEAVER SITES/SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    body {
    </style>
    </head>
    <body>
    <div id= "container">
    <div id="header"><h1>Jan kardy's Literary Agency</h1></div>
    <div id="Menu_bar">
      <ul id="Vertical_menubar" class="MenuBarVertical">
        <li><a href="#">Home</a></li>
        <li><a href="#">About Jan Kardys</a></li>
        <li><a class="MenuBarItemSubmenu" href="#">Rescources</a>
          <ul>
            <li><a class="MenuBarItemSubmenu" href="#">Education Connection</a>
            </li>
            <li><a href="#">Submission Guidelines</a></li>
            <li><a href="#">First Steps to Publishing</a></li>
            <li><a href="http://advancenetworkingunicorn.blogspot.com/">Advanceced Networkinig Blog</a></li>
            <li><a href="#">Library &amp; Publishing Events</a></li>
    </ul>
        </li>
        <li><a href="#">Client Links</a></li>
        <li><a href="#">Art Gallery</a></li>
        <li><a href="#">Contact Jan Kardys</a></li>
      </ul>
    </div>
    <div id="Page_Content">
      <div id="Main_content">Content for  id "Main_content" Goes Here</div>
      <div id="xtra_content"><h3>News &amp; Events
        </h3>
        <p><a title="http://scotlandpubliclibrary.org/" onkeypress="window.open(this.href); return false;" onclick="window.open(this.href); return false;" href="http://scotlandpubliclibrary.org/">Scotland Public Library</a>, Scotland, CT April 21, 2011 6-8pm<br />
      </p>
        <p><a title="http://www.plymouthct.us/library.htm" onkeypress="window.open(this.href); return false;" onclick="window.open(this.href); return false;" href="http://www.plymouthct.us/library.htm">Plymouth CT Library</a>, Plymouth, CT April 30, 2011 10am<br />
        </p>
        <p><a title="http://www.hplct.org/" onkeypress="window.open(this.href); return false;" onclick="window.open(this.href); return false;" href="http://www.hplct.org/">Hartford Public Library</a>, Hartford, CT May 7, 2011 10am<br />
        </p>
        <p><a title="http://www.middleburghlibrary.org/" onkeypress="window.open(this.href); return false;" onclick="window.open(this.href); return false;" href="http://www.middleburghlibrary.org/">Middleburgh Library</a>, Middleburgh, NY May 14, 2011 1pm<br />
        </p>
        <p><a title="http://dewlib.org/" onkeypress="window.open(this.href); return false;" onclick="window.open(this.href); return false;" href="http://dewlib.org/">Dewitt Community Library</a>, Dewitt, NY June 21, 2011 7pm<br />
        </p>
        <p><a title="http://gilfordlibrary.org/gpl/" onkeypress="window.open(this.href); return false;" onclick="window.open(this.href); return false;" href="http://gilfordlibrary.org/gpl/">Gilford Public Library</a>, Gilford, NH July 7, 2011 6:30-7:30pm<br />
        </p>
        <p><a title="http://www.athollibrary.org/" onkeypress="window.open(this.href); return false;" onclick="window.open(this.href); return false;" href="http://www.athollibrary.org/">Athol Public Library</a> Athol, MA July 14, 2011 5:30pm<br />
        </p>
        <p><a title="http://www.goshenpublib.org/" onkeypress="window.open(this.href); return false;" onclick="window.open(this.href); return false;" href="http://www.goshenpublib.org/">Goshen Public Library</a> Goshen, CT July 23, 2011 11am<br />
        </p>
        <p><a title="http://columbiactlibrary.org/" onkeypress="window.open(this.href); return false;" onclick="window.open(this.href); return false;" href="http://columbiactlibrary.org/">Saxton B. Little Free Library</a>, Columbia, CT July 26, 2011 6:45pm<br />
        </p>
        <p><a title="http://hampden-library.org/" onkeypress="window.open(this.href); return false;" onclick="window.open(this.href); return false;" href="http://hampden-library.org/">Hampden Public Library</a>, Hampden, MA Sept. 10, 2011 10:30am<br />
        </p>
        <p><a title="http://fortlee.bccls.org/" onkeypress="window.open(this.href); return false;" onclick="window.open(this.href); return false;" href="http://fortlee.bccls.org/">Fort Lee Public Library</a>, Fort Lee, NJ Sept. 14, 2011 7:00pm<br />
        </p>
        <p><a title="http://prosserlibrary.info/" onkeypress="window.open(this.href); return false;" onclick="window.open(this.href); return false;" href="http://prosserlibrary.info/">Prosser Public Library</a>, Bloomfield, CT October 3, 2011 6:00-8:00pm<br />
        </p>
        <p><a title="http://iwwg.org" onkeypress="window.open(this.href); return false;" onclick="window.open(this.href); return false;" href="http://iwwg.org">IWWG. org</a>, New York City, October 16, 2011 2:30-6pm<br />
        </p>
        <p><a title="http://www.hchlibrary.org/" onkeypress="window.open(this.href); return false;" onclick="window.open(this.href); return false;" href="http://www.hchlibrary.org/">Henry Carter Hull Library</a>, Clinton, CT October 24, 2011 6:30pm<br />
        </p>
        <p><a href="http://town.canton.ma.us/library" title="http://town.canton.ma.us/library">Canton Public Library</a>, Canton MA Janurary 7, 2012  2:00pm<br />
        </p>
        <p><a href="http://www.town.sturbridge.ma.us/Public_Documents/F0000F86A/library" title="http://www.town.sturbridge.ma.us/Public_Documents/F0000F86A/library">Joshua Hyde Library</a>, Sturbridge, MA March 24, 2012 10:30am<br />
        </p>
        <p>Otis Library Norwich, CT April 14, 2012 12:00am-2:00pm<br />
        </p>
      </div>
    </div>
    <div id="footer"> <h6>Webpage designed by James S. Molina</h6></div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("Vertical_menubar", {imgRight:"/SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </div></body>
    </html>

    In regard to the files you currently have on your server, the links to your Spry menu files are still pointing to your local computer.  This is caused when a site has not yet been defined in Site Manager, so DW is forced to link them locally.
    To fix your page, just go into code view and remove the part of the link path that I have underlined and made BOLD.
    <script src="file:///C|/Users/james/Documents/DREAMWEAVER SITES/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="file:///C|/Users/james/Documents/DREAMWEAVER SITES/SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />

  • My 8530 does not display images in the browser

    My bb 8530 a few weeks ago suddenly stopped displaying images in the browser. Browser options are set to "display images". I've power cycled many times, even reset and wiped, but still no images in browser. How can I fix this? Thanks.

    hi i have noticed the same problem. also with Chrome and FP ver 11.5.31.2and Firefox and Safari with FP 11.5.502.110
    it seems that MovieClipLoader class not returning onLoadInit event. I use to add a fadein function on loadInit to fade in the loaded images. with the latest Flash PLayer versions this is not activated so you cannot see the loaded images.
    I have tested this on 3 different systems and the problem is the same. I have not updated my FP for IE. There, the older FP still works well.
    test systems
    Mac OS LionSafari and FP 11.5.502.110 --- DOES NOT WORK WELL
    Windows 7 64 bit
    chrome 23.0.1271.95 with FP 11.5.31.2  - DOES NOT WORK WELL
    Firefox 16.02 with FP 11.5.502.110  - DOES NOT WORK WELL
    IE 9 with FP version 11.4.402.287  - WORKS
    Windows XP SP3
    Firefox 16.02 with FP 11.5.502.110 - DOES NOT WORK WELL
    IE 8 wth FP 11.4.402.287  - WORKS
    chrome 23.0.1271.95 with FP 11.5.31.2  - DOES NOT WORK WELL

  • Converting GIF images to JPG - display problems in browser

    I am currently writing a program that uses the ImageIO package (javax.imageio.*) to take GIF and PNG images and convert them to JPG images. The program seems to convert them correctly, especially for the PNG images, but the converted GIF images don't open in a browser. They open just fine in Windows Picture and Fax viewer, but when I try to open them in IE or Firefox, it only diplays the little red 'x'.
    Is anyone familiar enough with Images and the ImageIO package in Java that they may have some insight on why these converted GIF files won't display in a browser.

    Bonjour,
    In my [website|http://iweb.debutersurmac.com>, all the images are JPG files,
    By default iWeb '09 converts images to JPG (yes, it's true)...
    ...unless you use masked images*
    !http://i32.servimg.com/u/f32/09/02/44/99/masked10.jpg!
    Crop your images (with Preview) before you paste them in iWeb. Don't use mask, Unmask an image if it's masked. That's the trick!
    !http://i32.servimg.com/u/f32/09/02/44/99/unmask10.jpg!
    (* images with transparency areas (ex : some PNG and GIF), rotation and shapes in iWeb make also PNG files in your website.)

  • I cannot display image (read from oracle BLOB field) on browser?

    I cannot display image (read from oracle BLOB field) on browser?
    Following is my code, someone can give me an advise?
    content.htm:
    <html>
    <h1>this is a test .</h1>
    <hr>
    <img  src="showcontent.jsp">
    </html>showcontent.jsp:
    <%@ page import="com.stsc.util.*" %>
    <%@ include file="/html/base.jsp" %>
    <% 
         STDataSet data = new STDataSet();
    //get blob field from database     
         String sql = "SELECT NR FROM ZWTAB WHERE BZH='liqf004' AND ZJH='001'";
         //get the result from database
         ResultSet rs = data.getResult(sql,dbBase);
         if (rs!=null && rs.next()) {
              Blob myBlob = rs.getBlob("NR");
              response.setContentType("image/jpeg");//
              byte[] ba = myBlob.getBytes(1, (int)myBlob.length());
              response.getOutputStream().write(ba);
              response.getOutputStream().flush();
         // close your result set, statement
         data.close();     
    %>

    Don't use jsp for that, use servlet. because the jsp engine will send a blank lines to outPutStream corresponding to <%@ ...> tags and other contents included in your /html/base.jsp file before sending the image. The result will not be treated as a valid image by the browser.
    To test this, type directly showcontent.jsp on your browser, and view it source.
    regards

  • Displaying Tiff Image on browser

    Hi friends ,
    I want to display tiff image on browser . For that i have written one servlet witch will desplay tiff image on browser
    Here i am sending my code snippets for servlet.
    Here file is source file which i want to display.
    FileSeekableStream ss = new FileSeekableStream(file);
              ImageDecoder tiffDecoder= ImageCodec.createImageDecoder("tiff", ss, null);;
              p = tiffDecoder.getNumPages();
              for(int x=0;x<p;x++){
              RenderedImage tiffPage = tiffDecoder.decodeAsRenderedImage(x);
              ByteArrayOutputStream stream = new ByteArrayOutputStream();
         TIFFEncodeParam tiffOptions = new TIFFEncodeParam();
         // You may want to set compression or tile attributes on the     EncodeParam here
         RenderedOp l_return = JAI.create("encode", tiffPage, stream,"TIFF", tiffOptions);
         bt = stream.toByteArray();
    then writing this byte array(bt)
    OutputStream out;
    out.write(bt);
    and responce .setContentType("image/tiff");
    i also want to know whether mime type image/tiff is supported or not in servlet.
    When i run servlet i am getting File Downloading dialog box.
    also when i download image file it's size is very large than original.
    Plz correct my code.It's verry urgent.
    Thanks in Advance

    hi, could you post the solution?
    I'm looking forward to know the solution.
    Thanks

  • Image doesnt display same in rediff as in outlook

    hi,
    I am working on a project where i have to send mails with embeded images.It works fine in while viewing in outlook but if send it to rediff or yahoo the images are not embeded. they are shown as attachment.
    Thanks in advance

    Ashitosh,
    From my personal experience, the mail that we sent through html doesnt carry the image with itself, instead the URL of the image. There fore the mailer to which the email sent may not display (or blocked) the image from the given the url as the image resides on the remote machine.
    It depends on how you are trying to read the message and display it.
    By the way javamail has nothing to do with it. (as i have understood from my previous post)
    http://forum.java.sun.com/thread.jspa?threadID=5159213&tstart=30
    Hope this might give you some clue.
    Thanks.
    Ramakrishna
    Further here is some info from FAQ's.
    Q: How do I send HTML mail that includes images?
    A: The simplest approach is to send HTML text with image tags that reference images on a public web site. In this approach the images aren't actually included in the message, and so won't be visible if the user is not connected to the Internet when they read the message. Note also that some mailers will refuse to display images that are on remote sites.

  • How to display "Image" object in the browser?

    can anyone please tell me how can i display "Image" object in the browser?
    I have an image object that i retrieved from AS400 BLOB object by using toolbox.jar (for as400 access for java including all necessary classes like jdbc driver, security etc.).
    i want to display this object in the browser so i will be able to web-enable my BLOB objects stored on as400.thx...

    In your HTML:
    <img src="ImageServlet">
    In ImageServlet:
    Make calls to DB to get your image as byte array and store it in:
    byte[] buffer = new byte[imageSize];
    ServletOutputStream out = response.getOutputStream();
    for(int i = 0; i < imageSize; i++)
    out.write(buffer, i, 1);
    out.close();

  • Very freaky, image in browser is not what's displayed

    I was planning on doing a little organization in Aperture, and it seemed images
    were out of place, as not in the right album.
    Then clicking on image in browser to move it, discovered it's not the same displayed is really weird.
    I quit the application before adding any from memory card that I was about to load in.
    I'm at a loss as to what to perform w/o messing up the whole thing.
    If more details are needed, feel free to inquire.
    Thanks

    Wow, now that link was hidden therapy. What a Nice Tour.
    The menu's language at Aperture are so tech writer challenged, for me anyway.
    If I ever get around to writing a third party program or scrip,
    I'd love to create an add on to take every drop down menu item and
    create a hovered cloud explanation as to what's going to happen if it's clicked.
    At 50 something, it would make my day.
    Maybe loading Aperture on a separate drive, and just slam through the gears to see
    what happens vs doing burn outs on existing image files.
    The built in manual I'm afraid is not reader friendly.
    Thanks Much.
    Phil

  • Displaying Japanese in Browser from MySQL query

    Hi All,
    I have the following jsp where I am trying to query a MySQL database for japanese words and display them on a web page.
    <html>
    <head>
    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
    <%@page import="java.sql.*" %>
    </head>
    <%
    String connectionURL = "jdbc:mysql://localhost:3306/japanese?user=;password=";
    Connection connection = null;
    Statement statement = null;
    ResultSet rs = null;
    %>
    <body>
    <%
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    connection = DriverManager.getConnection(connectionURL, "root", "");
    statement = connection.createStatement();
    rs = statement.executeQuery("SELECT kanji, kana, english FROM vocab");
    while (rs.next()) {
    out.println("Kanji: " + rs.getString("kanji")+"<br>");
    out.println("Kana: " + rs.getString("kana")+"<br>");
    out.println("English: " + rs.getString("english")+"<br>");
    rs.close();
    %>
    </body>
    </html>But when I run this through my browser (http://localhost:8180/japanese/mysql.jsp) I get the following output:
    Kanji: ???
    Kana: ??????
    English: elephant
    I am using:
    * mysqld Ver 5.0.22-Debian_0ubuntu6.06.3-log for pc-linux-gnu on i486 (Debian Etch distribution)
    * Apache/Tomcat 5.0
    * java-6-sun
    Can someone please tell me what I need to do?

    That is fine, but has following limitations.
    (1)     Blob has limitation of size of 4kb and you cannot afford to load heavy objects in session which messes performance
    (2)     Content type (gif/jpeg) dependency, I need to explicitly declare content type.
    (3)     I need to know the size of image
    Hence following one of the ways is suggested to store
    and retrieve. Use <iamge src to
    retrieve the file
    Steps involved in displaying image from the database
    works with post Oracle 9i
    (1)     Provide read permission to the Oracle account to
    read the file from a directory
    (2)     Create an image table that contains
    ordsys.ordimage column.
    (3)     Upload the file into Oracle Database in
    ordsys.ordimage column table using a procedure.
    (4)     Provide java file write permission to the Oracle
    account.
    (5)     Export the file from the Oracle Database to
    output directory.
    (6)     Read the file in JSP using src image tag
    Regards,
    Shankar G. Pednekar

  • Pictures placed in design wont display correctly in browser.

    As I continue to work on my website I continue to come across issue with muse.  Following issues I have is with the display of photos placed on a webpage not being correct.
    Below is an image of my page design:
    Page setting is as follows:
    Page Width 960px; Min Height 521px
    Columns 5; colums Width 168px and Gutter 20px
    Margins Top 20 Bottom 20 Left 20 Right 20
    Padding: Top 119; bottom 0; left 0.
    Centre Horizontally.
    As you can see that images placed on the page are placed next to each other.
    The first Image of the cargo ship, is as follows
    x: 100  y: o   w:441  H:292
    the second image of the lighthouse is as follows;
    x:341  y:0   w:243   H: 413
    When I preview it I get the follows;
    This is just one of many issue I am facing with using Muse.  The images have been optimised for web using Photoshop CC, Save for Web, and the sizes have been reduced as well.
    I am not sure whether this is an issue with Muse CC or whether I am doing something wrong.  I cannot find any tutorials that address this issue, and I have no clue where to go from here.
    These images were placed on the page using the Place command.
    The control bar's pin has help solve some of the issue I was having but not on this occassion.  Any advise would be appreciated as it is stopping me from fully publishing my site on the web.
    My default web browser is Google Chrome.

    Hi Aish I did what you asked by it didnt have an effect on what I wanted.  I left pin both picture, they were together, and showed in the browser to left of centre of the page.  I want the lighthouse pic to be centre in the middle of the page, and the picture of the cargo ship, to go from the left of the browser to the edge of the Lighthouse, which is shown in the design mode in my first post.  It is obvious that Muse is not wysiwyg (what you see is what you get).  As what is displayed in the design mode, first image above and what is displayed in the browser view ( second image) are two different images and not similar at all.  And when I centre pin the two images they are togther in the middle of page and the second images doesnt touch the left edge of the page.  The lighthouse should be the full height of the page from just touching the header and footers.  But I think the issue is that the pages could be set to scrolling or expanding pages and not a fixed height.

  • How to create a report in Form line Style and can display Image field?

    Hi,
    In Report builder 10g, I would like to create a Report with Form Line Style and this report included a Image field.
    I can choose this Style only when Select Report type is Paper Layout. Because, If I choose Create both Web & Paper Layout or Create Web Layout only then in the next Style tab 03 option Form, Form letter and Mailing Label be Disabled.
    But in Paper Layout, my report can not display Image field.
    I tried with Web layout and all the other Styles (Except 03 mentioned be Disabled) then all Styles are displayed Imager field OK.
    How to create a report in Form line Style and can display Image field?
    I was change File Format property of my Image field from text to Image already in Property Inspector. But report only showed MM for my Image field.
    Thanks & regards,
    BACH
    Message was edited by:
    bachnp

    Here you go..Just follow these steps blindly and you are done.
    1) Create a year prompt with presentation variable as pv_year
    2) Create a report say Mid report with year column selected 3 times
    - Put a filter of pv_year presentation variable on first year column with a default value say @{pv_year}{2008}
    - Rename the second time column say YEAR+1 and change the fx to CAST(TIME_DIM."YEAR" AS INT)+1
    - Rename the second time column say YEAR-1 and change the fx to CAST(TIME_DIM."YEAR" AS INT)-1
    Now when you will run Mid Report, this will give you a records with value as 2008 2009 2007
    3) Create your main report with criteria as Year and Measure col
    - Change the fx for year column as CAST(TIME_DIM."YEAR" AS INT)
    - Now put a filter on year column with Filter based on results of another request and select these:
    Relationship = greater than or equal to any
    Saved Request = Browse Mid Report
    Use values in Column = YEAR-1
    - Again,put a filter on year column with Filter based on results of another request and select these:
    Relationship = less than or equal to any
    Saved Request = Browse Mid Report (incase it doesn't allow you to select then select any other request first and then select Mid Report)
    Use values in Column = YEAR+1
    This will select Year > = 2007 AND Year < = 2009. Hence the results will be for year 2007,2008,2009
    This will 100% work...
    http://i56.tinypic.com/wqosgw.jpg
    Cheers

Maybe you are looking for