Images are not coming  in jsp pages in linux os

Hi,
i done java/j2ee project in windows its working fine, when i deployed that project in linux. JSP pages images are not displaying..
IDE--- eclipse.
server--- tomcat.

Doublecheck the image paths. They must either be relative to the current context or just absolute.

Similar Messages

  • Images are not updated in jsp page

    Hi experts,
    I have developed a website for show events and display images of the event, when the user saves the title of the event and event content these things are go to database and at the same time i am creating a directory on the server in which user can upload manually(as user's demand).
    but after pasting the images in the directory when i test for the image page, the content and title are shown(content and title are coming from database) but images are not, images are shown after minutes. I have checked that image's path are right. And when i type same path on the address box of my browser, it shows...
    The requested resource (/xxxxn/image/NewsImg/xxxxxx) is not available.But after minutes, like 30 to 40 or after i restart my system, it is showning me.
    I have disabled the page cache of my jsp pages.. but problem remain. i am using tomcat 6.0.26 for testing.
    Please guide me how can i resolve this issue.
    Thanks
    Shams

    Ha ha ha,
    I have done it myself...
    what i am doing is to, generate a random number by using random class and attach it with image's path like "url rewriting" technique. Like this:
    Random ran = new Random();
    String imgPath = "./img/img_file_name?" +ran.nextInt(99999);and pass this to the "img" element of html.
    I think that this trick forces browser to recollect the data from server and not to use cached data.
    But my question with experts is that... I have used on jsp page these code:
    response.setHeader( "Pragma", "no-cache" );
    response.setHeader( "Cache-Control", "no-cache" );
    response.setDateHeader( "Expires", 0 );to tell browser not to catch my page, then why browser is caching my page??
    Thanks
    Shams

  • Images are not displayed in Details Page of Open script

    I am trying to record a web application with open script.
    After recording the images are not displayed when playing back the script.
    Are there any option we have to enable to get the images.

    Hi
    As per default OpenScript will ignore any URL that contains an image, to change the filters you can:
    View -> OpenScript Preferences > Record -> HTTP Module -> Select the URL filters Tab to add/remove or edit any filters
    You can un-check the first one on the list to enable image recording.
    Regards
    Alex

  • Pictures are not displaying in jsp page

    hi everyone,
    i want to display background images in my jsp page
    also some other images which are not background images
    plz tell me the way that enables me to place images in my jsp page
    thanx

    <body background="pic/love.gif">
    <%
    --- jsp code
    out.println("<img src='pic/vijay.jpg' height='100' width='100'>");
    --- jsp code
    %>
    </body>

  • Line items are not coming on next page in Bill of Lading

    When I am printing Bill of Lading, if it has around 8 line items then its printing on the first page, but if line items are more then its not printing the remaining line items on second page.
    I have one delivery with 10 line items, when I am printing it then on first page 7 line items are coming and for 8 line item only material is printing and on second page its description is printing but last two line items are not printing at all.
    Kindly help me to resolve the issue as it is very critical.

    Hi,
    Check below points.
    Point 1:
    When you create a delivery document, you create it for a Shipping Point.
    So whatever the line that came in to one delivery has determined same shipping point that you entered in VL01N screen.
    Others got a different shipping point and that's why it didn't come to the same delivery document.
    Shipping point determined based on below criteria
    - Shipping Condition - From customer master
    - Loading Group - Material
    - Plant  - Delivery Plant of the sales order line item
    You assign a proffered shipping point for above combination in configuration.
    If that combination is not find, those line items are not going in to the delivery.
    You can check the log of the delivery document for more information as well.
    Point 2:
    Check the line item Requested delivery date and the "Selection Date" you entered in the VL01N screen.
    Al  Requested delivery dates has to be on or before the  "Selection Date" you entered in the VL01N screen.
    Those line items which has a date more than that will dropped in the delivery.
    Best regards,
    Anupa

  • All columns of trinidad table are not coming up on page while its running

    Hi,
    I have put two trinidad tables on my page.But while the page is run, I am unable to see all the columns of the table.Only a few columns are visible.
    Also, though there are 5 rows in teh table ,there is a lot of gap below the tablespace.So the next table comes after a very big gap.
    How to solve the above two problems? Kindly let me know your valuable suggestions.
    Regards

    Hi santosh,
    Following is my code.I am providing only one column code(similarly there are 3 more columns),along with the table code.
    <tr:table value="#{phonebeannew.inputphone}" var="row"
    rows="#{bindings.phone.rangeSize}"
    inlineStyle="height:#{phonebeannew.rownumbers + 275}px"
    id="t1" width="100%">
    <tr:column sortProperty="phonetype" sortable="false"
    headerText="phonetype"
    id="c3" width="5px">
    <tr:inputText value="#{row.phonetype}"
    simple="true">
    I gave width as 5px but it doesnt make any difference in output.
    The 'phonebeannew' is our bean and inputphone is a property of it.input phone holds the array of values for the 4 columns.
    Kindly let me know if you want any further information which I can provide
    Regards

  • Images are not coming out when application running through jar file.

    I have written an application program using j2sdk1.4.1 that needs your help.
    My application folder's contents.....................
         C:\Examination\Examination.class <-----This is the main class and application's entry point.
         C:\Examination\ExamBox.class
         C:\Examination\PaperSetterBox.class
         C:\Examination\pspBox.class
         C:\Examination\epBox.class
         C:\Examination\TimerBox.class
         C:\Examination\ReportCardBox.class
         C:\Examination\HelpBox.class
         C:\Examination\AboutBox.class
         C:\Examination\Images\(some jpg & gif files)
         C:\Examination\Sounds\(some au files)
    Compilation Report:     There was no error.
    Execution Report :     Was working properly using the command:- java Examination
    Now, I created a jar file for my application in the following steps.................................
              STEP-1:          Firstly, I created a text file(mainclassInfo.txt) that contains
              the line:--     Main-Class: Examination
              This line would be automatically added to the default manifest file when I would include the                name of that text file with the command to create the jar file.
              Location of the text file I created:     C:\mainClassInfo.txt
              STEP-2:          Then I went to C:\Examination and executed the following command(by using                'Command prompt'):--------------------------------------------------------------------
    jar cmf C:\mainClassInfo.txt Examination.jar Examination.class ExamBox.class PaperSetterBox.class pspBox.class epBox.class TimerBox.class ReportCardBox.class HelpBox.class AboutBox.class Images Sounds
    Finally, I got the jar file:-     Examination.jar
    Double clicking on it application ran as it was expected.
    Then, I thought, that as all the files & folders the application needed to run properly were packaged in the jar file; I should delete all the contents of the folder 'Examination', so that no one could see or use anything of the resources easily. I did that.
    So, then it became only:-- C:\Examination\Examination.jar
    Thereafter, I tried to run the application again and there a problem occurred! The application was running, but the images, those were to be used and shown by the application were missing somehow!!
    Moreover, when I kept a copy of those 2 folders('Images' and 'Sounds') into the C:\Examination and ran the application again all the images came out normally!
    I just can't understand why it's happening so mysterious?
    I don't want to leave anything of the resources in an open place; I mean, outside of the jar file. The images should be used and shown by the application.
    Help me please!

    double post http://forum.java.sun.com/thread.jspa?threadID=582311

  • Export To HTML Images are not visible

    Hi All,
    I have an VS 2003 application and Crystal Reports 10.
    My windows services generates the Crystal Reports and export them to Disk. I my Web Application i have to list all the exported reports.
    Everything works file but when i view HTML exported report from my .aspx page, images are not visible on the page.
    Can anybody has the same issue?
    Thanks in advance

    Do you have crystalreportviewers10 directory ptoperly configued in your IIS?

  • BLOB image not shows in JSP page!!

    Hi Dear all,
    I had tried to configure how to show BLOB image to jsp page . The code are works fine and servlet works ok but image can not show only. can you help me that what need to be added. Please help me.
    Can any experts help me? BLOB image not shows in JSP page. I am using ADF11g/DB 10gR2.
    My as Code follows:
    _1. Servlet Config_
        <servlet>
            <servlet-name>images</servlet-name>
            <servlet-class>his.model.ClsImage</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>images</servlet-name>
            <url-pattern>/render_images</url-pattern>
        </servlet-mapping>
      3. class code
    package his.model;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Iterator;
    import java.util.Map;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    import oracle.jbo.client.Configuration;
    import oracle.jbo.domain.BlobDomain;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    public class ClsImage extends HttpServlet
      //private static final Log LOG = LogFactory.getLog(ImageServlet.class);
      private static final Log LOG = LogFactory.getLog(ClsImage.class);
      public void init(ServletConfig config)
        throws ServletException
        super.init(config);
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response)
        throws ServletException, IOException
        System.out.println("GET---From servlet============= !!!");
        String appModuleName = "his.model.ModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleName");
        String appModuleConfig = "TempModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleConfig");
        String voQuery ="select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = 'P1000000000006'" ;// 'P1000000000006' this.getServletConfig().getInitParameter("ImageViewObjectQuery");
        String mimeType = "jpg";//this.getServletConfig().getInitParameter("gif");
        //?IMAGE_NO='P1000000000006'
        //TODO: throw exception if mandatory parameter not set
        ApplicationModule am =
          Configuration.createRootApplicationModule(appModuleName, appModuleConfig);
          ViewObject vo =  am.createViewObjectFromQueryStmt("TempView2", voQuery);
        Map paramMap = request.getParameterMap();
        Iterator paramValues = paramMap.values().iterator();
        int i=0;
        while (paramValues.hasNext())
          // Only one value for a parameter is expected.
          // TODO: If more then 1 parameter is supplied make sure the value is bound to the right bind  
          // variable in the query! Maybe use named variables instead.
          String[] paramValue = (String[])paramValues.next();
          vo.setWhereClauseParam(i, paramValue[0]);
          i++;
       System.out.println("before run============= !!!");
        // Run the query
        vo.executeQuery();
        // Get the result (only the first row is taken into account
        System.out.println("after run============= !!!");
        Row product = vo.first();
        //System.out.println("============"+(BlobDomain)product.getAttribute(0));
        BlobDomain image = null;
        // Check if a row has been found
        if (product != null)
          System.out.println("onside product============= !!!");
           // We assume the Blob to be the first a field
           image = (BlobDomain) product.getAttribute(0);
           //System.out.println("onside  run product============= !!!"+image.toString() +"======="+image );
           // Check if there are more fields returned. If so, the second one
           // is considered to hold the mime type
           if ( product.getAttributeCount()> 1 )
              mimeType = (String)product.getAttribute(1);       
        else
          //LOG.warn("No row found to get image from !!!");
          LOG.warn("No row found to get image from !!!");
          return;
        System.out.println("Set Image============= !!!");
        // Set the content-type. Only images are taken into account
        response.setContentType("image/"+ mimeType+ "; charset=windows-1252");
        OutputStream os = response.getOutputStream();
        InputStream is = image.getInputStream();
        // copy blob to output
        byte[] buffer = new byte[4096];
        int nread;
        while ((nread = is.read(buffer)) != -1)
          os.write(buffer, 0, nread);
          //System.out.println("Set Image============= loop!!!"+(is.read(buffer)));
        os.close();
        // Remove the temporary viewobject
        vo.remove();
        // Release the appModule
        Configuration.releaseRootApplicationModule(am, false);
    } 3 . Jsp Tag
    <af:image source="/render_images" shortDesc="Item"/>  Thanks.
    zakir
    ====
    Edited by: Zakir Hossain on Apr 23, 2009 11:19 AM

    Hi here is solution,
    later I will put a project for this solution, right now I am really busy with ADF implementation.
    core changes is to solve my problem:
        byte[] buffer = new byte[image.getBufferSize()];
        int nread;
        vo.remove();
        while ((nread = is.read(buffer)) != -1) {
          os.write(buffer);
        }All code as below:
    Servlet Code*
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response) throws ServletException,
                                                             IOException {
        String appModuleName =
          "his.model.ModuleAssetMgt";
        String appModuleConfig =
          "TempModuleAssetMgt";
      String imgno = request.getParameter("imgno");
        if (imgno == null || imgno.equals(""))
          return;
        String voQuery =
          "select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = '" + imgno + "'";
        String mimeType = "gif";
        ApplicationModule am =
          Configuration.createRootApplicationModule(appModuleName,
                                                    appModuleConfig);
        am.clearVOCaches("TempView2", true);
        ViewObject vo = null;
        String s;
          vo = am.createViewObjectFromQueryStmt("TempView2", voQuery);
        // Run the query
        vo.executeQuery();
        // Get the result (only the first row is taken into account
        Row product = vo.first();
        BlobDomain image = null;
        // Check if a row has been found
        if (product != null) {
          // We assume the Blob to be the first a field
          image = (BlobDomain)product.getAttribute(0);
          // Check if there are more fields returned. If so, the second one
          // is considered to hold the mime type
          if (product.getAttributeCount() > 1) {
            mimeType = (String)product.getAttribute(1);
        } else {
          LOG.warn("No row found to get image from !!!");
          return;
        // Set the content-type. Only images are taken into account
        response.setContentType("image/" + mimeType);
        OutputStream os = response.getOutputStream();
        InputStream is = image.getInputStream();
        // copy blob to output
        byte[] buffer = new byte[image.getBufferSize()];
        int nread;
        vo.remove();
        while ((nread = is.read(buffer)) != -1) {
          os.write(buffer);
        is.close();
        os.close();
        // Release the appModule
    Configuration.releaseRootApplicationModule(am, true);
    }Jsp Tag
    <h:graphicImage url="/render_images?imgno=#{bindings.ImageNo.inputValue}"
                                                        height="168" width="224"/>

  • Why last  4 lines of  every page in sap script are not coming ,it is not o

    pls give some solution why last  4 lines of  every page in sap script are not coming ,it is not over flowing to next page even? it is any page format related problem or coding problem?

    Hi,
    Use PROTECT ENDPROTECT statement it displays hole paragraph in to the single page and also to over come this issue.
    Regards
    Md.MahaboobKhan

  • Some images are not loading...including yahoo logo on search pages. Firefox 8.0

    most images are not showing up in browser....including yahoo logo on search result pages and icon images in gmail. I have uninstalled and reinstalled firefox.

    If images are missing then check that you aren't blocking images from some domains.
    *Check the permissions for the domain in the current tab in "Tools > Page Info > Permissions"
    *Check that images are enabled: Tools > Options > Content: [X] Load images automatically
    *Check the exceptions in "Tools > Options > Content: Load Images > Exceptions"
    *Check the "Tools > Page Info > Media" tab for blocked images (scroll through all the images with the cursor Down key).
    If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.
    Make sure that you do not block third-party images permissions.default.images
    *http://kb.mozillazine.org/Images_or_animations_do_not_load
    Make sure that you allow pages to choose their colors and that you haven't enabled High Contrast in the Accessibility settings.
    *http://kb.mozillazine.org/Website_colors_are_wrong
    *Tools > Options > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"
    There are also extensions (Tools > Add-ons > Extensions) and security software (firewall, anti-virus) that can block images.
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Page-embedded Javascript and uploaded images are not cached.

    Hello All,
    I was reading in Wiki APEX and I found this line mentioned as cons: "Page-embedded Javascript and uploaded images are not cached".
    The question that I have posted many questions here how to enable the cache for Images and Javascripts but didn't get it right, is the wiki info right about the cache for images and JS?
    thanks,
    Fadi.

    Look at the bottom of this page as well [http://carlback.blogspot.com/2007/12/apex-and-3rd-party-js-libraries.html]
    Patrick Wolf
    Carl,
    the only drawback with #WORKSPACE_IMAGES# and #APP_IMAGES# is that it doesn't get cached by the browser. So each page request will transmit the hole file again. A caching option for the "Static Files" in the Shared Components would be nice :-)
    About lazy loading with the #WORKSPACE_IMAGES#. I could think about a mod_rewrite rule which translates the additional file request of the JS library into a valid request for APEX.
    Carl Backstrom
    In 3.1 we emit a last modified header now for uploaded files so that should help with browser caching.
    I wonder if anything's changed since then.
    Kofi

  • Access point are not coming up after upgrade image of WLC

    Hi,
    I have AIR-WLC4402-50-K9 WLC i that current IOS is 7.0.98.218 and i upgraded with 7.0.116.0 IOS but after upgrading and reboot the WLC from 15 access point 3 access point are not coming up and 12 are coing up and working fine (4 1142 and 11 1131 series access point) 3 which are not coimg is 1131 series access point. when i login with console to 3 access point its rebooting 2 times and coming on ap: prompt.
    In between that i reloaded the WLC one more time because from 15 acess point only 4 aceess point are came up and i also cleck the show boot on wlc its output is
    7.0.116.0 (default)
    7.0.98.218 (active)
    so i reload  the wlc and checked out of 15 acess point now 12 acess point are up and still 3 are not. And i also checked the output of show boot command its
    7.0.116.0 (default)(active)
    7.0.98.218
    So i things its because of when 2nd time i reload the wlc the remaining 3 access point are getting image from wlc but because of reload its connection should be loss and error loading flash error are coming on acess point.
    After that i recover the IOS for access point and convert into autonomus and from autonomus convert into Leightweight Access point. I also attached the procedure for recover the ios of access poing
    But my question is why this 3 access point are not coming up is this happen's after upgrading wlc can any one please send me Step by Step WLC S/W Upgrade' process and if this this happens some time please send me any doccument related to this.

    Sunil,
         When you rebooted the controller did you do it from the Web GUI, the CLI, or did you physically reboot the controller? I believe and maybe incorrect but if your getting the ap:  < prompt > that means that there is no firmware on the unit. If you have restored these to functioning autonomous unit and then re-converted them to Lightweight and it's still happening then we need to look at a debug output of what is happening when those AP's attempt to join the controller.
    The capture you attached shows that it appears to join the controller and get a config, but are you saying that when it reboots again it stops working?? the other thing I would reccomend is clear out the flash memory since your capture shows the possibility that there are several copies stored there.
    Hope this helps.

  • Images are not reflecting in Multi Level Menu

    Hi,
    i am facing some problem in the Multi Level Menu.
    i have created a book in my portal application.
    For the "Main Page Book" i am setting "Multi Level Menu"
    For the Book with in the menu, i am setting "No Navigation"(to avoid the sub pages displaying when clicking the book)
    for example the Book name is "Home".
    i want to replace the Home with some images.
    using "selected image" i have placed some .gif
    when i have checked at run time that image is not reflected.
    when i keep the menu as "Single level menu" images are coming. (but drop down is not coming)
    the problem is when i put the menu as "multi level menu" the images are not reflected.
    pls help me to solve this issue.
    regards.

    Hi,
    we've got the same issue in the project I'm working on. We told thos to BEA and they said that this is not coded. So 2 BEA's consultants are working on it for us. May be it will be included in the next version of WLP...
    Tom

  • Images are not loading - but work in Preview mode

    Hi -
    I was wondering if anyone can help me.  I'm kind of new to Dreamweaver and I can't seem to figure this out on my own. 
    I'm using Dreamweaver 8.  I developed a web page based on a template in which everything works perfectly in "Preview" mode on all browsers.  But when I uploaded the files to my remote hosting, the template based images (found in the "images" folder) are not loading on the page. The images that I added to the template myself, found in the same "images" folder ($200,000 in ..., and picture at bottom) are loading.  So some of the images in the images folder are loading some are not.
    I've checked the Images folder on the remote site, and they all seem to be there.  I've also checked for broken links, and I'm not getting any (I don't know if that would help w/ missing images or not, but I'm trying everything I can think of).  I also checked to see if there is a separate CSS style sheet, and there wasn't one supplied with the template (there is some CSS info in the code on the html page).  The image sizes are all small enough as well.  Can anyone help me with this? 
    You can view one of the pages at: http://www.200kin5months.com/squeeze-video.html
    Thank you in advance to anyone who might be able to help!
    Stacey
    PS - I've attached a screenshot from Dreamweaver Preview to show what it is supposed to look like.

    Your Web server is running on an operating system that is case-sensitive. You appear to have uploaded an Images folder, but not an images folder.
    You do not have a file here:
    images/squeeze-video_425x344_r9_c6.jpg
    But you do have a file here:
    Images/squeeze-video_425x344_r9_c6.jpg
    So you'll need to either change all your image/<whatever> links to point to Images/<whatever>, or upload another folder named images.
    Or, if you want to use a single folder, and if your local file system is not case-sensitive, you might be able to do it in DW's file panel. Here is a method that you might use to have all of them in a folder named images.
    BACK UP YOUR SITE FILES
    Rename Images to Foo (allow DW to update links)
    Rename Foo to images (allow DW to update links)
    Upload the images folder and any/all files that DW changed
    Delete the online Images folder
    HTH
    Mark A. Boyd
    Keep-On-Learnin' :-)

Maybe you are looking for

  • Why can't Pages "save as" Word?

    I'm trying to like Pages in lieu of my long use of Appleworks, but I can't figure out how to do a document in Pages and save it as Word. I do this all the time in Appleworks to interface with the PC folks, but I can't seem to find out how to do it in

  • WRE54G Stopped working

    This morning found that the Wireless Range Expanded has stopped working. Discovered this when a computer that is on another floor was having a really lousy connection. With a little investigation learned that it isn't even putting out a signal. Now t

  • Problem Editing User Defined Report - 1.1.0.22.71

    When I rt click on an existing user-defined report on the Reports tab and select edit, change the default value on a bind variable and click Apply, I get message "Name already used please enter new one" message and changes will not save. Am I missing

  • Periodic contracts updating material prices

    Hi guys, I hope someone can help. I am working in a test environment and having some problems. I'm attempting to change the price on a material master record in the SD AR module of SAP using MM02. The price change is effective ok for new sales orders

  • Best way to log runtime parameters

    i have a log procedure that takes a varchar2 parameter with autonomous transaction. in my proc , just after begin statement, i want to log all parameter values given at runtime. but i dont want to use pipes to concat the param values for each procedu