Report generation using jsp

I am developing a website using jsp on tomcat.The site required a number of online report generation option from database(mysql).
My problem is-
1.how to generate different types of report other than simple html tag embedded within jsp .
2.How to store all those reports in a file(.txt or .doc).
N.B I dont want to use any reporting tool.

Mantosh,
Have you seen this developer zone article which details accessing Citadel Data using COM+ and ADO?
http://zone.ni.com/devzone/conceptd.nsf/webmain/725A6C3843F13C8786256EA600633724#6
Also, this KB article provides more detail on how to access Citadel data using SQL commands and I think will help answer your question:
http://digital.ni.com/public.nsf/websearch/C7D32F9A59D4637086256A7200692F30?OpenDocument
--Paul Mandeltort
Automotive and Industrial Communications Product Marketing

Similar Messages

  • Help needed for report generation using java technologies

    May i get some idea about report generation api available. some report generation tools that can be downloadble. can you please suggest how to use scheduling the printers or report generation by scheduling.

    e.g. for one of my school project which generate reconciliation report (banking project) we add in a letterheader and the rest of the information presented below.
    but there is some problem here.
    either you "catch" no. x row where the printing will be trancated then prevented it from trancated by formatting your pages such that data will not be printed in that region.

  • Problem in report generation using CrystalClear

    hi
    all
    plz can anybody told me about the code which will help to display the
    report using jsp. i m using crystal clear and want to add report
    with my project.
    plz send me code if anybody have
    plz zzz
    thanks in advance

    hi
    all
    plz can anybody told me about the code which will help to display the
    report using jsp. i m using crystal clear and want to add report
    with my project.
    plz send me code if anybody have
    plz zzz
    thanks in advance

  • Hi I got error regarding crystal report generation in jsp

    Iam using crystal reports in my JSP.
    But, iam getting the error like "package com.crystaldecisions.reports.sdk not found in import".
    import com.crystaldecisions.reports.sdk.*;
    can anybody please help?

    Hi,
    You import some classes but the package where the classes are is not reachable.
    Check your class path / manifest.
    Hope that help,
    Jack

  • Report Generation using JDeveloper

    hello
    I saw the Jdeveloper Online Demo on generating reports via a JSP Application. From the demo ,i came to understand that i need Oracle Reports also.How to obtain oracle reports separately without downloading the entire Oracle 9i DS? What is the cost involved? Should i download Oracle 9i AS too??

    Hi
    As you mentioned you can use Oracle Reports along with
    JDeveloper.
    You would use JDeveloper to build the UI part either thru applet
    or servlet and invoke the reports from that.
    Invoking reports is very straight forward, all you would need is
    the respective URL for the reports.
    regards
    raghu
    Venkat Krishnan (guest) wrote:
    : Thanks,
    : If I understand it right, I can use JDeveloper in conjunction
    : with Oracle Reports, create report formats in Oracle Reports
    and
    : have my Java applet (written using JDeveloper), on click of a
    UI
    : button or something, call another Java program on the server
    : (servelet?) that invokes the Oracle Reports runtime program
    : (with the appropriate report-name and other parameters). This
    : would I guess output the report in HTML format which can be
    : viewed or printed by the user.
    : I am right in assuming this scenario? Is it technically
    : feasible? Do you have a Java runtime program for invoking
    : Reports? Else, in what manner would I use Oracle development
    : tools to implement this?
    : -Regards,
    : Venkat
    : JDeveloper Team (guest) wrote:
    : : Hi
    : : You can use Java Servlets in JDeveloper to write some reports
    : : which can be ouptut as HTML format. You can define the layout
    : by
    : : creating your own theme (HTML CSS).
    : : But if you are looking for no code environment and at the
    same
    : : time want to deploy your reports on to the web, then Oracle
    : : Reports does very good job of that.
    : : regards
    : : Raghu
    : : Venkat Krishnan (guest) wrote:
    : : : Hi,
    : : : I am evaluating use of JDeveloper for a report-intensive
    : : : application. Does anyone have any experience of using
    : : JDeveloper
    : : : for such an application?
    : : : I would like to know if it is simple or even feasible at
    all
    : to
    : : : define many report layouts (simple ones) based on table
    : record
    : : : structures a la Developer2000 or Crystal Reports.
    : : : -Thanks,
    : : : Venkat
    null

  • Sub Report not working in Crystal Report 2008 using JSP

    I am having developer license of Crystal Report 2008. I am able to generate report using Java JDK 1.5 , JSP,Oracle10g , deployed on WebSphere Application Server 6.1.0.29. I am not able to generate Sub reports. Can you please help us with sample code to how to call and configure subreport and please send configuration CRConfig.xml.
    The below Error is Occurred on generating report.
    On condition when we link the main report to subreport through parameter.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:741)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
                    at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
                    at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
                    at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
                    at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
                    at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
                    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
                    at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
                    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
                    at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(SourceFile:767)
                    at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(SourceFile:324)
                    at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getPage(SourceFile:149)
                    at com.businessobjects.report.web.event.s.a(SourceFile:158)
                    at com.businessobjects.report.web.event.s.a(SourceFile:127)
                    at com.businessobjects.report.web.event.bt.a(SourceFile:47)
                    at com.businessobjects.report.web.event.bw.broadcast(SourceFile:93)
                    at com.businessobjects.report.web.event.am.a(SourceFile:53)
                    at com.businessobjects.report.web.a.t.if(SourceFile:2104)
                    at com.businessobjects.report.web.e.a(SourceFile:300)
                    at com.businessobjects.report.web.e.a(SourceFile:202)
                    at com.businessobjects.report.web.e.a(SourceFile:135)
                    at com.crystaldecisions.report.web.ServerControl.a(SourceFile:607)
                    at com.crystaldecisions.report.web.ServerControl.processHttpRequest(SourceFile:342)
                    at com.ibm._jsp._CrystalReportViewer._jspService(_CrystalReportViewer.java:107)
                    at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
                    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1143)
                    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:591)
                    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
                    at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
                    at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:226)
                    at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:286)
                    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3453)
                    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
                    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815)
                    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
                    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
                    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
                    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
                    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
                    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
                    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
                    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
                    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
                    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
                    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
                    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
                    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
    Caused by: java.lang.NullPointerException
                    at oracle.jdbc.driver.OracleResultSetMetaData.<init>(OracleResultSetMetaData.java:84)
                    at oracle.jdbc.driver.ScrollableResultSet.getMetaData(ScrollableResultSet.java:1282)
                    at com.crystaldecisions.reports.common.data.JdbcCrystalResultSet.getMetaData(Unknown Source)
                    at com.businessobjects.reports.jdbinterface.common.ResultSetReader.bindToField(Unknown Source)
                    at com.crystaldecisions.reports.queryengine.ResultSetRecordReader.a(SourceFile:80)
                    at com.crystaldecisions.reports.queryengine.Rowset.a(SourceFile:1107)
                    at com.crystaldecisions.reports.queryengine.Rowset.z9(SourceFile:1025)
                    at com.crystaldecisions.reports.queryengine.Rowset.Aa(SourceFile:988)
                    at com.crystaldecisions.reports.queryengine.Rowset.z3(SourceFile:967)
                    at com.crystaldecisions.reports.queryengine.Rowset.bL(SourceFile:533)
                    at com.crystaldecisions.reports.queryengine.Rowset.zM(SourceFile:245)
                    at com.crystaldecisions.reports.queryengine.RowsetBase.zA(SourceFile:156)
                    at com.crystaldecisions.reports.queryengine.QueryInfo.vE(SourceFile:261)
                    at com.crystaldecisions.reports.datafoundation.DFQuery.for(SourceFile:628)
                    at com.crystaldecisions.reports.datalayer.a.do(SourceFile:1621)
                    at com.crystaldecisions.reports.datalayer.a.a(SourceFile:1404)
                    at com.crystaldecisions.reports.dataengine.m.b(SourceFile:334)
                    at com.crystaldecisions.reports.dataengine.j.b(SourceFile:515)
                    at com.crystaldecisions.reports.dataengine.m.o(SourceFile:408)
                    at com.crystaldecisions.reports.dataengine.m.a(SourceFile:173)
                    at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:114)
                    at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:95)
                    at com.crystaldecisions.reports.dataengine.j.case(SourceFile:1080)
                    at com.crystaldecisions.reports.dataengine.h.<init>(SourceFile:108)
                    at com.crystaldecisions.reports.dataengine.DataContext.a(SourceFile:254)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4660)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4574)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.new(SourceFile:2652)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.byte(SourceFile:2610)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.try(SourceFile:2282)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.int(SourceFile:2442)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.I(SourceFile:1013)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.if(SourceFile:4816)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:2020)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:309)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:250)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.a(SourceFile:922)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.e(SourceFile:784)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.for(SourceFile:242)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:243)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:210)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:185)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:230)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359

    I'm not sure I understand what you mean by tabbed reporting.  Do you mean having multiple reports open at once within the Crystal Reports Designer?
    If this is the case, the viewer is designed to only have one report open at a time.

  • 9i Reports Graphic using JSP not showing in Portal

    Using Portal Rel 2, 9iAS Report Server Rel 2, Oracle 9i database and 9iDS Report Builder, SUN servers and Windows2000 (for Builder).
    I've created 2 reports very simple, using scott.emp table, one tabular (deptno,ename, salary) and one line graph (ename,salary) both created as .RDF (paper layout) and .JSP (web layout).
    The tabular reports both work fine on portal (after setting Oracle Reports Security as Servelet and as JSP).
    The graphics only work as Servlets , as .JSP it shows the little box with the red x.
    If I run the reports outside of portal, all 4 work fine.
    Any idea what might be the problem?
    Thanks in advance for all your help on this.
    Max.

    Hi Zsolt:
    Thanks for your response. May I ask you further questions regarding your solution:
    1) content SCORM compliant?? (yes/no)
    Yes, it is SCORM compliant
    2) check in / publish the content in the Authoring Environment
    I am not sure if my colleague has check-in/publish it in AE. I'll check on this one.
    3) go to the LSO back-end and create a WBT
    Do you mean creating a Course Type with Delivery Method "WBT"? if yes, I've done so. If no, then how do I do it?
    4) enclose the cheked in / published content
    Do you mean creating IT5006 - Course Type Content to link the content to the course type? if yes, I've done so. If no, then how do I do it?
    5) try to find on the portal again
    I'll ask my colleague about Step 2 and then I'll re-try again..
    Thanks,
    Sean

  • Report generation: Using only bottom border cell in Excel

    I'm trying to write a report to Excel. for each 2 rows I want the cells to have a bottom border.
    With the VI " Excel set Cell Color and Border VI" I have 2 options, using inside border and outside border.
    Outside border seems to be the top and bottom border. However , I can only put them both on and off, I can't use them seperatly.
    Is there a way of telling this VI that I only want to have a bottom border?
    Idealy I would like to select a cellstyle like one can do in Excel:

    Hello kev91,
    Can you give me some more information about the software versions you're using?
    Is this LabVIEW 2012?
    Which version of Excel are you using?
    Can you share an example of how the final Excel-file should look like?
    It would also be useful to see what you already have written in LabVIEW so that we can just change/modify that code.
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.

  • Report Generation using Citadel & Excel in VB

    I want to generate report using citadel sql server, i,am using excel for report viewing. I have written a Visual Basic code for fetching data from srq to excel. The problem is when i fetch all the fields from sql it generate report, but when i gave a single variable name like Mycomputername/process/pot1@value it give a error column:Mycomputer not exsist.
    Given below is the code wriiten to get the value.Please suggest ASAP
    '****** GET HEPTANE RECORDS ******
    Sub GetHEPTANERecords(ByVal rNumber As Integer, ByVal dDate As Date, ByVal sTime As Date, ByVal eTime As Date)
        Dim ReadHEPTANE As ADODB.Recordset
        Set ReadHEPTANE = GetConnection.Execute("SELECT TRANSTECH34/SRS/LVL_GALL_TK1  FROM IntData WHERE [LOCALTIME] BETWEEN '" &
    sTime & "' AND '" & eTime & "'")
    Thanks & regards
    Mantosh

    Mantosh,
    Have you seen this developer zone article which details accessing Citadel Data using COM+ and ADO?
    http://zone.ni.com/devzone/conceptd.nsf/webmain/725A6C3843F13C8786256EA600633724#6
    Also, this KB article provides more detail on how to access Citadel data using SQL commands and I think will help answer your question:
    http://digital.ni.com/public.nsf/websearch/C7D32F9A59D4637086256A7200692F30?OpenDocument
    --Paul Mandeltort
    Automotive and Industrial Communications Product Marketing

  • Problem-Report generation using shell script

    Hi
    We have the Production database and the Reporting database (copy of Production database),
    both on Oracle 9.2.0.5 and Solaris 5.8. There is a package inside the Oracle database, which extracts some data from inside the
    database, and would generate a report. A shell script has been created in Solaris which would
    send in the parameters and call the pakage to generate the report. The parameters it is sending is
    the name of report to be generated, and the location where it is to be generated, both hard-coded into
    the script. The script is scheduled to run through crontab.
    The problem we are facing is that, if we run the script for Reporting database, it successfully
    generates the report. But if we use that script for Production database, it gives the error
    "Invalid directory Path". I have tried using various other directory paths, even '/tmp'
    and '/', but it still gives the same error when executed for Production dataabse.
    Could somebody provide any ideas what might be going wrong.
    The reasons it is to be executed on Prod db and not the Reporting database are unavoidable.
    It anyway runs in off business hours and takes about 10secs to execute.
    Please do let me know if there is any other info that I missed to provide here.
    Thanks in advance...

    I will be just guessing because you didn't provide contents of script and package.
    The "Invalid directory path" as you said could be ORA-29280 due non existent directory.
    Try execute (as sys or system) select * from dba_directories; (or select * from all_directories; as user which the script is login to) on both databases and compare the results. If there is missing your important directory then create it using create directory <dirname>; (from sqlplus and don't forget to grant rights for user).
    This error could come from shell script. In that case you should find resolution yourself because you didn't provide script source.

  • Can we add custom print button to crystal report launched using jsp

    Hi,
    I need to add a print icon in crystal report. My requirement states that I should not use the print button given in the taskbar of crystal report. Can this be done?
    Thanks

    Are you using Crystal Reports for Eclipse?  If so, there is a new version out that suports Excel exporting:
    /people/blair.wheadon/blog/2009/01/16/announcing-crystal-reports-for-eclipse-20

  • Crystal Report generation using XML

    I have some reports that were created using XML and as I recall when I created them using CR v. 9 I used a connections called ADO (Xml) or something like that. On one of my machines I have CR XI and the only option available is XML and when I add a field from this connection it inserts: "{NewDataSet\TableName.FieldName}" however, previously when I used the ADO XML connections it only inserted {TableName.FieldName}. In the version 9 CR i was using the professsional version and in the version 11 CR it is still the professional version but I can't seem to create an XML connector that doesn't prefix the table/field with "NewDataSet". My request is two fold, first, can you please direct me to some articles that I can read to better understand how to generate  CR from XML? My project is to generate the XML and then set the xml during runtime into the report using SetDataSource and then display the report using the CR viewing that I package and redist with my app. Secondly, why does the ADO XML connector not available in CR XI professional version and is there any way to get the CR v. 9 behaviour back?
    Thanks,
    Marcus

    Hi, Markus
    If you are planning to run reports from a .NET application, you need to have the Developer edition, not the professional.
    The ADO.NET Driver is not installed by default. Go into Control Panel - Add / Remove programs, and chose Crystal Reports, and change. You can expand the Database drivers, and you should see the ADO.NET driver there. Note: you need to have the .NET framework installed for this to work.
    Regards,
    Jonathan

  • Report generation using java.

    Is there any classes/tools avalaible to generate database related reports using java?????

    Supoose I have a database table named EMPLOYEE having fields "name", "dept", "salary".
    I want to generate reports with the records of the table
    for the printing purpose.
    The report should have proper format and it will show the monthly total and yearly totals of all employees' salary.
    e.g. name department salary
    John Systems 20000
    Rian Sales 80000
    total 100000
    The report can be more complex. As number of tools are available for development of reports in VB and D2k etc.
    I want to know whether any JAVA tool or classes are available to generate complex reports.

  • Webi report generation using sdk?

    hi experts,
         Can i create a webi report using SDK. if so, please give me the basic steps.....
    Regards,
    ksvsivam

    Hello ksvsivam,
    You can certainly create webi report from scratch using Report Engine SDK.
    Please go through documentation present at following url:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm  -
    >Report Engine SDK--->Developer Guides--
    >Building and Editing Data Providers 
    Regards,
    Chinmay Athavale

  • Report generation using Excel

    I created a VI for making a report in Excel. It works correctly, however when I built an executable files, it is unable to do the processing and announce ‘error 7 open VI reference in Excel’! I was wondering if anybody can guide me that how I can fix this error. Many thanks

    Hello,
    I think that if you add the Excel/Word dynamic VIs to your project, you will see them in the VI list when building your EXE, which would allow you to add them to your application as dynamic VIs.  I'm guessing you currently don't have the Excel/Word dynamic VIs added into your project yet.
    Good luck,
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

Maybe you are looking for

  • Can not access data generator in HANA SHINE Content

    Hi Expert,   After import Delivey Unit of SHINE Content, then i was told by the Guide Book that i could use data generator to generate demo data by access URL http://<myServer>:<XS Port>/sap/hana/democontent/epm/admin/ui/WebContent/admin.html STEP1:I

  • Extracting

    i am trying to download photoshop free trial because i need it for school in 2 days but it keeps saying extracting and its been saying that for many days. how can i start downolding it again and make it stop extracting. by the way i am using an apple

  • Process 0kb empty file and deliver to target directory

    Hello Experts, We had a requirements to process an empty file handling and send it to the receiver/target directory. We had configured to "Process Empty File" Handling and “Write Empty File. The 0KB file polling successfully and archived to the direc

  • JDBC: select according to message content

    Hi, Is it possible to select data via the JDBC adapter building the SELECT statement using content in the message rather than using a fixed select statement on the communication channel ? For instance, there may be a time date in the message that sho

  • Tour 9360 Sync problems

    I have just joined and need some help with error messages on my Blackberry Desktop sync program.  When I try to synch with Outlook 2007 (running Windows 7) I get two (2) error messages: First:  "The messaging server network connection is no longer av