How to view pdf, xls files generated by using JasperExport

I am using Weblogic Server 8.1 to deploy my project. I have some pdf, xls files that generated by JasperExport. Code: <br>
Map parameters = new HashMap(); <br>parameters.put("donvi",DVi); String ConnectionURL ="jdbc:oracle:thin:@localhost:1521:qltb"; <br>Class.forName("oracle.jdbc.driver.OracleDriver"); <br>Connection jdbcConnection = DriverManager.getConnection(ConnectionURL,"qltb","qltb12345");<br> jasperReport = JasperCompileManager.compileReport("C:\\baocao.jrxml"); <br>jasperPrint = JasperFillManager.fillReport(jasperReport,parameters,jdbcConnection);<br> //JasperViewer.viewReport(jasperPrint); <br>JasperExportManager.exportReportToPdfFile(jasperPrint, "report.pdf");<br>
report.pdf is exported to folder <br> C:\bea\user_projects\domains\cems ( cems is name of domain) . <br> But I dont know how to view this file or write relative path of this file For example : in test.jsp page I write Report 1 But it doesnt work.

Install IronTrack SQL as described in the following link
http://www.irongrid.com/documentation/irontracksql/install.html#install_oracle9iAS

Similar Messages

  • How to view pdf file in java/jsp?

    Hello Everybody,
    Any one help me how to view pdf file in jsp using java application.
    I have pdf file c:\app.pdf.
    How can i display the pdf file.
    Please help me.................
    Thanks

    Hello,
    You can use the below code, but i am not sure how far is this a startard way of doing it.
    # <%
    # ServletOutputStream servletOutputStream = response.getOutputStream();
    # File reportFile = new File("C:\\Tomcat 5.0\\webapps\\TestApp\\myfile.pdf");
    # FileInputStream fis = new FileInputStream(reportFile);
    # byte[] bytes= new byte[128000];
    # int count=fis.read(bytes);
    # try
    # response.setContentType("application/pdf");
    # response.setContentLength(bytes.length);
    # servletOutputStream.write(bytes, 0, bytes.length);
    # servletOutputStream.flush();
    # servletOutputStream.close();
    # }catch(Exception e){}

  • How to view pdf in 5700

    hi
    how to view pdf file in 5700?

    hi
    The application adobe acrobat reader is not included in the the software package of this phone, and is not available to download in the nokia website, try to download from another S60 3rd edition phone from nokia website or visit adobe site.
    regards

  • How to view pdf online?

    os: win xp, sp3
    i am using adobe reader 9.0; i can't view my pdf's.
    i tried following the suggestions on the attached link:
    http://kb2.adobe.com/cps/328/328233.html
    i tried all the suggestions in the "try these first", adn the first three suggestions in the next section
    now, i am able to save the pdf to my computer and open it in reader.  however, i am trying to open some pdf files from the website: stocklayouts.com.  i can' t save those pdf's onto my computer because i don't click on their address.
    help!
    thanks

    hi,
    thx for your help
    i use mozilla firefox; i tried to open pdf in ie, but it did not work either
    i did step 2, , checked and unchecked the  Display pdf in browser
    i did step 3., updated it and repaired, from the help menu
    Date: Fri, 10 Sep 2010 05:43:35 -0600
    From: [email protected]
    To: [email protected]
    Subject: how to view pdf online?
    Please provide some more info so that I can help you:
    1.In which browser are you trying to open the pdf?
    2.Check if  Edit>Preference>Internet>Diplay PDF in abrowser is checked
    3.Please update to latest Reader version which is 9.3.4.You can update from Adobe website or use direct download link:
    http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.3.4/enu/AdbeRdr934_en_US.exe
    >

  • How to view an .xls document using Swing

    Hi folks,
    I'd like to view an .xls document in the same format as in Microsoft Excel. How can i accomplish this using jdk1.5 (swing).
    I've gone through JExcel doc but dont know how to use it. I appreciate if u guys provide an example...
    Thanks in advance....

    Dear Cotton.m,
    4 ur info im not reinventing the wheel...
    My requirement is like this.. In my app i have to give an option to import recipient no's to JList from an .xls file.I've already achieved this in previous version of my appln by a condition that recipient no's should start from A1 to end of that column. But im trying to update it, by allowing the user to view the .xls file and select the no's of his choice(from any row r col)... I hope u understand
    If u can help me then pls..

  • How do I view ipod music files with out using I tunes?

    I trying to view my Ipod music files without using itunes. But when I conect my Ipod to my pc I can only view contacts, notes, and caladar through the driver.
    How do I view ipod music files with out using I tunes?

    they should be under ur my music folder if u have windows

  • How to convert an .xls file to .csv file using procedure or function

    Hi All,
    My requirement is as follows.
    1. In my database server(linux), my excel file will be loaded in a particular directory.
    2. I need to load this excel file's data into an external table.
    3. Can i load the data from an excel file to table directly? Or do i have to change the format into .csv, if so how to conver the .xls file to .csv file via backend.
    Please help me.
    Regards,
    Sakthi.

    Have a look at this
    PLSQL UTL_FILE problem
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=895803
    Regards,
    Yohanes 林贤汉

  • HT2506 How to view a .tif file in a MAC

    How to view a .tif file in a MAC.
    I cand find an MDi convertor for a MAC Pro.  Please advise.

    Problem solved.  I went to cnet.com and searched for "postscript viewer."  The top item in the search results was "Postscript Viewer" from a company called Rampant Logic.  It works great, and is free.
    Sam Cohen
    Executive VP and CEO, Pro-Gun New Hampshire --> www.PGNH.org
    .....RKBA!..... (the exclamation point means "Shall Not Be Infringed!")

  • How to view ALL my files in my iPad?

    Hello,
    How to view all my files in my iPad because the "others" in my iPad is taking a lot of space.
    Thanks

    If you just want a listing, you can do this:
    select owner, object_type, object_name
    from   dba_objects
    where  object_type in ('VIEW','TRIGGER','PROCEDURE');(you don't want to see functions or packages?)
    If you want to see the code for these types, an easy way is to use the package dbms_metadata to display them:
    SQL> select dbms_metadata.get_ddl('TRIGGER','ORDERS_TRG','OE') from dual;
    DBMS_METADATA.GET_DDL('TRIGGER','ORDERS_TRG','OE')
      CREATE OR REPLACE TRIGGER "OE"."ORDERS_TRG" INSTEAD OF INSERT
    ON oc_orders FOR EACH ROW
    BEGIN
       INSERT INTO ORDERS (order_id, order_mode, order_total,
                           sales_rep_id, order_status)
                   VALUES (:NEW.order_id, :NEW.order_mode,
                           :NEW.order_total, :NEW.sales_rep_id,
                           :NEW.order_status);
    END;
    ALTER TRIGGER "OE"."ORDERS_TRG" ENABLE

  • How to view corrupted word files, please help?

    Can't view doc corrupted file .How to recover unsaved documents WORD? how to view corrupted word files, please help

    It could be Word or even Windows that is having the problem. Before you start trying to restore a backup or repair a file, try opening other documents.
    Try opening your "corrupt" document from another computer. Also you can try to make a copy of corrupted files. (It could work) : http://www.filerepairforum.com/forum/microsoft/microsoft-aa/word/968-i-would-be-grateful-for-any-help-to-repair-or-the-procedures-word-files
    But if nothing helps, you can try to recover it by using DOCX Viewer Tool Download free demo versions of this software from website: http://www.docx.viewertool.com/ It’s
    gonna help.

  • Download(xls) file fm ABAP using background job

    Hi,
    My request is how to download(xls) file fm ABAP using background job. ( Daily 3 times download )
    Pls advise...

    Hello Rajesh,
    Actually it is not the function module WRITE_DATASET but command OPEN DATASET. Check this link for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/content.htm
    Also for this please contact your ABAP collegues. It is their job and they should have the expertise.
    Regards.
    Ruchit.

  • How to Create PDF from Illustrator CS3 by using applescript?

    Hi Guys,
    Do some one knows how to create PDF from Illustrator CS3 by using apple script. If know, please give me the scripting.
    HARI

    Have you tried File>Scripts>SaveDocsAsPDF? There should be a folder of sample scripts installed in your AICS3 folder and a folder of documentation which contains an Illustrator AppleScript Reference which has examples.

  • "dtutil", how to tell which configuration file for packages using after deployment?

    Hello All, 
    Trying to achieve this feature, 
    Using DOS command to automatic my deployment process--glad I found dtutil. However, it doesnt give you any chance to identify which configuration file to be used by SSIS packages after deployment.
    Deployment Method: file deployment
    Configuration sued: XML file and SQL Table. IN XML file, it tells which DB connection for packages to look up the configuration table.
    Who can share some thoughts on this?
    Derek

    It is NOT about sequence.
    It is about how to point which configuration file to be used by deployed packages as during the "dtutil.exe"
    deployment, you dont have chance to identify which physical location confg files to be used.
    Derek
    That you do only at the time of execution of packages. By default it uses configuration settings created at design time within the package. If you want to override it, you can use \Configfile switch of dtexec for that. You can also set explicit values for
    properties using /SET switch
    http://technet.microsoft.com/en-us/library/ms162810(v=sql.105).aspx
    See this to understand how configs are applied in runtime
    http://technet.microsoft.com/en-us/library/ms141682(v=sql.105).aspx
    and this to understand behaviour difference in ssis 2008 
    http://technet.microsoft.com/en-us/library/bb500430(v=sql.105).aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How can I change the file download time using Adobe Send? Adobe SendNow had a lot more options.

    How can I change the file download time using Adobe Send? Adobe SendNow had a lot more options.I don't see nay with Adobe Send.

    There isn't a feature in Adobe Send for setting and end-date for a file's availability. At any time, you can Unshare the file, however.

  • New to iPad from android/PC...How can I view PDF, XLS, DOC files when I am not connected to wifi?

    I understand that GoodReader is able to open PDF, XLS, DOC, etc., but is not actually able to edit them. 
    Documents-to-Go can edit them, but will they be stored on my iPad?
    Evernote seems to be able to access them without being connected to wifi, but cannot edit spreadsheets that I am aware of.
    Does anyone have any good suggestions to be able to access documents while in airplane mode?

    GoodReader, Documents to Go, Pages, Numbers can all store documents on the iPad.

Maybe you are looking for

  • Trouble installing Windows 8.1 with Boot Camp

    I'm having an issue installing Windows 8.1 under Boot Camp on one of the new MacBook Pros (late 2013).  After sever troubles (and not a few tribulations) fighting with the stupid Windows installer program (couldn't Microsoft just let me download a fr

  • MB_DOCUMENT_BADI Not Working after Transport

    Hi Experts I have created an implementation of the MB_DOCUMENT_BADI in our ECC6 system to perform some processing as part of the goods issue process.  The code has been unit tested and works as required.  I have transported the development to our QA

  • Create  structure and table similar to a dynamic table.

    Hi, i need to create a structure  similar to that of a dynamic table. your help will be appreciated. Thanks, KK.

  • LoadSound IE cache problem

    I see there are a lot of postings on this topic, however I haven't found any resolutions that are working for me. Here is the situation. I have a main movie, that loads external .swfs and plays in a linear way, much like a slide presentation. There a

  • String.replaceAll doesn't work

    Hi, I hope this is the correct forum to post about this problem. It's not a compiler error, it rather seems to be an interpreter or a logical error. Please consider this test program I wrote to clarify the problem. public class Test {     public stat