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

Similar Messages

  • Crystal Report Chart not showing up in Web Portal

    I have a created a chart using Crystal Reports(runs fine in Crystal) and published it on our Report Server. When I went to look at the report on our Web portal, the text objects were visible however the chart was not. Portal is in JSF technology (IceFaces) on JBoss server.
    Anyone know why this happening?
    I founded post
    [Re: Crystal Viewer in Servlet does not show graphics|Re: Crystal Viewer in Servlet does not show graphics]
    I have this in web.xml
    <context-param>
             <param-name>crystal_image_uri</param-name>
             <param-value>/my_app_name/crystalreportviewers115</param-value>
    </context-param>
    But in URL like this one
    /my_app_name/crystalreportviewers115/crystalimagehandler.jsp?dynamicimage=crystal7652571164231307864.png
    I haven't file "crystalimagehandler.jsp" I also didn't found "crystal7652571164231307864.png" file. how to resolve this problem?

    Yes I did. I created file "crystalreportviewers115" in my "WEB-INF" and coped there all file from "C:\Program Files\Business Objects\Common\4.0\crystalreportviewers12\".
    In tutorial which i founded [here|http://devlibrary.businessobjects.com/businessobjectsxir2/en/en/JRC_SDK/jrc_java_dg_doc/doc/jrcsdk_java_dg/Tutorials2.html#1459845] they saying that I must copy file "crystalreportviewers115" but in my case I have "crystalreportviewers12" and:
    - ChartSupport
    - java
    - managed
    In my case i haven't file "crystalreportviewers115" but "crystalreportviewers12".
    In eclipse the structure of my app (its "Dynamic Web Project") looks like:
    - myapp:
    _______ src
    _______ crystalreportviewers115
    _______ WebContent:
    _________________ WEB-INF
    Any advice?

  • Crystal Report images not showing up.

    Post Author: cfloss
    CA Forum: JAVA
    I am displaying reports in my web application
    using the Viewers SDK. The reports are being displayed with a frame
    where the image would be and a small red X in the corner. I have
    entries in my web.xml (shown below) that control where the graphic
    files are put, and I see the files show up that match the name I see
    when I do a view source (shown below), but still no image. The folder
    C:\Temp\CrystalReportsImages contains the file crystal63812.png along
    with serveral other .png files with a similar naming pattern. Does
    anyone have any ideas? web.xml fragment
      <context-param>
        <param-name>crystal_image_uri</param-name>
        <param-value>crystalreportviewers115</param-value>
      </context-param>
      <context-param>
        <param-name>crystal_image_dir</param-name>
        <param-value>C:/Temp/CrystalReportsImages/</param-value>
      </context-param>
      <context-param>
        <param-name>crystal_image_no_delete</param-name>
        <param-value>true</param-value>
      </context-param>
      <context-param>
        <param-name>CrystalEnableLogging</param-name>
        <param-value>true</param-value>
      </context-param>
      <context-param>
        <param-name>CrystalExceptionInfo</param-name>
        <param-value>long</param-value>
      </context-param>
      <context-param>
        <param-name>CrystalExceptionLogFile</param-name>
        <param-value>C:/temp/CrystalReports.log</param-value>
      </context-param>
      <context-param>
        <param-name>CrystalGenerateEPFDebug</param-name>
        <param-value>1</param-value>
      </context-param>
    html source fragment
    <div class="ad1209040389468-0" nowrap="true" style="top:8px;left:9px;width:53px;height:54px;">
        <img src="crystalreportviewers115/crystalimagehandler.jsp?dynamicimage=crystal63812.png"
    border="0" width="53px" height="54px">
    </div>

    Post Author: Ted Ueda
    CA Forum: JAVA
    Right-click on the "Red X", copy the complete URL, paste it into the web browser address field where the viewer is displayed, then go.
    Do you get an error message?
    Is the crystalreportviewers115 folder where it's expected?  Is the crystalimagehander.jsp file where it's expected?  Ensure you've placed the crystalreportviewers115 folder in the expected location.
    Do you happen to have crystalreportivewers115 in a different web app?  You can try FileMon:
        http://www.microsoft.com/technet/sysinternals/systeminformation/filemon.mspx
    to ensure that the web app process is trying to retrieve the image from the correct location.
    Sincerely,
    Ted Ueda

  • Jspc jsps inside WEB-INF?

              jspc skipped jsps inside web-inf folder (eg /webapp/WEB-INF/index.jsp) if -compileAll
              is specified. Is there any way to compile all jsps in a webapp without compiling
              one by one?
              thanks
              

    How about a look into the doc?
    1) http://www.oracle.com/pls/topic/lookup?ctx=fmw121200&id=ADFFD21876
    2) http://www.oracle.com/pls/topic/lookup?ctx=fmw121200&id=ADFFD22049
    3) http://www.oracle.com/pls/topic/lookup?ctx=fmw121200&id=ADFFD1815
    Timo

  • Appc does not compile JSPs under WEB-INF

    Hi,
              We are using WLS 8.1 and I noticed that appc does not compile jsps that are
              under WEB-INF. Is this expected? If the jsps are outside of WEB-INF then
              appc works fine...
              Thanks!
              John
              

    Although the client is not allowed to directly access jsps under WEB-INF, it
              is perfectly acceptable (and often recommended) to use a front controller to
              forward to jsps. Often these jsps are "hidden" in the WEB-INF directory so
              that they can't be accessed directly by the client. This pattern works fine
              under 8.1 except that appc won't precompile the jsps under WEB-INF (the
              container does compile the jsps when they are called). I believe this is a
              bug... If jsps are allowed in WEB-INF then appc should compile them...
              John
              "Stjepan Brbot" <stjepan.brbot@@zg.hinet.hr> wrote in message
              news:[email protected]...
              > Yes, this is expected! Web container, or better to say it's web component,
              > does not serve content of WEB-INF directory directly mening you cannot
              > access jsp inside WEB-INF like
              http://host:port/WebApp/WEB-INF/something.jsp
              > hence there's no need for compiling JSP's in it! The content of WEB-INF
              > directory can be accessed only via internal links so it is mostly used for
              > referencing taglibs. JSPs, HTMLs, images and all other file type that has
              to
              > be accessible directly by client web-server (not container internally)
              > should be in application directory or one of it's subdirectories.
              >
              > "John Hampton" <[email protected]> wrote in message
              > news:[email protected]...
              > > Hi,
              > >
              > > We are using WLS 8.1 and I noticed that appc does not compile jsps that
              > are
              > > under WEB-INF. Is this expected? If the jsps are outside of WEB-INF
              then
              > > appc works fine...
              > >
              > > Thanks!
              > > John
              > >
              > >
              >
              

  • Crystal report Viewer Not Showing Control Bar Button Icons

    Hi
    I am using Crystal report along with .net 2003 in web application.
    While executing, the report  its not showing any errors,but the control bar buttons(print, export, next page last page, previous page, first page, etc ) are showing without there icons.
    These invisible buttons can be found by placing the mouse over the specified area, then it shows the tool tip like print etc.
    Please give me solution.

    Would you like to have a look at these:
    [1.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303336333633373339%7D.do]
    [2.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133383333333933313333%7D.do]
    [3.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303332333533323337%7D.do]
    [4.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333733363334%7D.do]
    [5.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313336333333303335%7D.do]
    [6.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333833393338%7D.do]
    Hope this helps!
    AG.

  • Crystal Report does not show the webelement for SAP System

    Hi all,
    I have added web element in Crystal report for SAP system (BI or R/3) . But it does not show the control. It shows only scipt.It does not render the HTML.
    But if I add the webelement for Excel sheet ,It shows the control.
    How can I add web element for SAP System? Can't we use web controls in SAP system ?
    Help me in this regard.
    Regards
    Hemalatha J

    Hi,
    We have the same problem, did you find the final solution?
    Thanks in advance
    Regards.

  • Crystal report viewer not showing any option in browser at run time

    Hello concern
    I am mahendra gohil a student in computer science.
    I am using crystal report viewer with VS 10 . Every thing is fine code is running , in browser data are displayed but I didn't find any options that make print of my document . In my document has multiple pages but it displays only first page. all options are set to true with "pdf" as print mode.
    I have read all post regarding this issue , could not find any solution. Also set "Enable Acrobat Javascript " in adobe reader application.
    I have attached my project image with this question.
    Can any one plz help me to solve this ?

    I am using Firefox 20.0* and Crome 34.0.*
    Here is my code
    page :: viewreport.aspx
    <%@ Page Title="" Language="C#" MasterPageFile="~/ideal.master" AutoEventWireup="true" CodeFile="viewreport.aspx.cs" Inherits="Default3" %>
    <%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
    <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
        <style type="text/css">
        .style1
            width: 100%;
    </style>
    </asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
        <table class="style1">
        <tr>
            <td>
                 </td>
            <td>
                 </td>
        </tr>
        <tr>
            <td colspan="2">
                <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
                    AutoDataBind="True" EnableDatabaseLogonPrompt="False"
                    GroupTreeImagesFolderUrl="" Height="50px"
                    ToolbarImagesFolderUrl="" ToolPanelWidth="200px" Width="881px"
                    ToolbarStyle-BackColor="#33CC33" ToolbarStyle-BorderColor="#FF5050"
                    ToolbarStyle-BorderStyle="Dashed" />
            </td>
        </tr>
    </table>
    </asp:Content>
    page :: viewreport.aspx.cs
                ReportDocument rp = new ReportDocument();
                rp.Load(Server.MapPath("IPD_BILL.rpt"));
                string payment_str = "SELECT * from report";
                DataSet ds = new DataSet();
                ds = conn.read_op(payment_str);       
                rp.SetDataSource(ds.Tables[0]);
                CrystalReportViewer1.ReportSource = rp;

  • Field Explorer in Crystal Reports does not show the same names as Bex Query

    Hi
    I have crystal reports, I can retrieve data from BW Bex Query. But in the field explorer it does not show the names as in the Bex query designer.
    In the Bex query designer a field will have the following technical name 0Debitor and the description is Customer.
    It shows in crystal reports in the field explorer twice as D[0DEBITOR]D and D[0DEBITOR]D. It also does not seperate key figures and characteristics.
    I would like it to display the field explorer as shown in this blog.
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    Thanks in advance

    Hi,
    take a look here:
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    make sure you are using the MDX Driver and what happens is that you will see several fields per characteristic. example: one for the key, one for the description, several if modelled for the display attributes
    Ingo

  • Crystal Report Parameter not showing in IPAD

    Hi All, 
    I create simple Purchase register report  by using Crystal report with date parameter
    My problem is that report not working on Ipad and its showing blank space .  
    The report working fine on ipad when i run report without parameter.
    Kindly tell me solution.

    Hi Rajesh,
    I am new to this Mobility..What is integration service upgrade..
    Currently we are using
    SMP Legacy connection typ1.
    BO version is 4.1 SP02.
    App is 6.0.6
    Please advise on this issue...and the steps which you have used..

  • Crystal report could not show dynamic picture

    I develop crystal report which show dynamically picture in my PC but when I send it to server which has not be installed program just install asp.net framework 2.0 , it could not show dynamic picture.
    How should I do, please advise.

    I develop the report by using Crystal Reports XI so that I have to install the runtime of them as the detail in page of business object located at Business Objects - Crystal Reports Runtime Packages.mht
    Crystal Reports for Visual Studio .NET 2005 - Service Pack 1 (Updated Nov. 2007) will not show dynamic picture, right
    I have to install Crystal Reports XI - Service Pack 4 (Updated - November 2007) becuase it has more features than the package in VS2005 right
    Edited by: pasit chan on Nov 3, 2010 10:18 AM

  • Crystal report paramater not showing all document number in parameter

    Hi,
    Customer is using Crystal report 2008 add on. The DO is having Doc Number in crystal report parameter. Eg DO in system had reached #1000 but it crystal report parameter user can only view DO up to 800. Is there any limitation in Crystal parameter if the records are many? How to resolve?
    Regards
    Thomas

    DO=Delivery Order in Sales A/R module.
    Customer is using Crystal report to print Delivery Order. DO DocNum is parameter in Crystal report for user to select which DO to print out but the selection list did not show all DO No.
    I saw similar question in forum. I had added "MaxRowsetRecords" ='99999999' into registry but the parameter still doesn't show all the DONo.
    I am using Type=REG_DWORD, value data=99999999 in registry and in crystal report the DocNum parameter is having "Dynamic" type.
    Don't know whether the setting is correct. Sorry I am not a Tech guy.
    Please advise.
    Regards
    Thomas

  • Crystal report does not show any output

    Hi
    The client runs crystal report and on the crystal viewer  no out put is retrieved. basically The page shows as gray colour. Its like as if there is no report to run. No error message is also received
    However when you print the report it prints fine with all the details on the report
    The user has full rights to the crystal reports folder as well
    All users can run the crystal reports fine except for one user
    Any possible solutions?
    Thank you
    KInd Regards
    Apsara

    Hi,
    We have the same problem, did you find the final solution?
    Thanks in advance
    Regards.

  • Help required with downloading files from inside WEB-INF folder

    I am working on a web application and I have an upload script which uploads different files to a foler called 'uploads' . To stop users from accessing the folder content I have put it in the /WEB-INF/.
    In my JSP file, I used to link to the uploaded files like this before for users to download them :
    if(filesListIterator.hasNext()
    files = (FilesBean)filesListIterator.next();
    <tr><td><a target="_new" href="<%=files.getFileName()%>">"<%=files.getFileName()%></a></td></tr>
    }I need to know how to alter the above link to make it access/download files from the /WEB-INF/uploads/ while still restricting direct access to the files.
    Thanks
    Message was edited by:
    topiwal

    Anything under WEB-INF is not directly accessible via the browser/ client. You could try defining the JSP/ Servlet inside web.xml deployment descriptor and see if you can access the file from there.
    I think a better way to accomplish this would be to keep the file outside WEB-INF , and use other techniques to protect the folder that contains the file - for example password-protection, or defining a .htaccess file and serving a 403 Forbidden error.

  • Crystal report-can not show all subreport records in main report.

    Hi,
    I have a mian report (summary) which link to a subreport (details). when I preview that subreport, I have 100 records inside. but, when I preview with main report, only first part of records displayed (first 60 of subreport records).
    I took out the link between main and subreport but the result still same.
    Anyone can help? it is weird.....
    Thanks
    Kevin T

    Hi Kevin,
    I am not able to replicate the problem u r facing.I created a report with Group on country and  added a subreport in the Group Footer. My subrepor has more than 270 records. I'm able to see all of them. They are spread across pages.
    Please check whether records are spread across pages or the link between Main Report and Subreport is filtering out some records. Other than these two things I dont see any other reason for records being truncated.
    Hope this helps!

Maybe you are looking for

  • How can I fix a Window that disappears Off Screen

    Hi, I'm running a new installation of MAX/msp and the output window does not appear on my monitor. When I use exspose the window comes in to view but when I click on it it disappears off screen to the left, therefore I can't grab it with my mouse. I

  • Version 8 configure error when opening Itunes after updating to V8

    I have contacted iTunes several times with no answer to this problem. Everything was fine until I updated to Version 8, now every time I try and open iTunes it starts with a green bar stops about 3/4 along bar then says you need to restart to configu

  • Issue with XSLT

    Hi All, I am working on a requirement to write an XSLT file which will do the following: 1. Copy contents from Input.xml to Output.xml 2. Read another xml file named Map.xml, select the value of printImmediate corresponding to Report Name and Version

  • Transparent objects not displaying correctly

    Interactive pdfs  which were created in  indesign  and  functioned perfectly  in  Acrobat  XI  and Acrobat reader    are failing  to display correctly  in  Acrobat DC  Specifically  Drop shadows  and transparent items  display as heavily pixelated me

  • No apps on itunes

    I am not able to find any app on Itunes for my Ipod Nano 5th gen. How can I get games or other stuff ? Tx