1、<!-- 润乾报表 satrt -->
<servlet>
<servlet-name>com.runqian.report.view.DataServlet</servlet-name>
<servlet-class>com.runqian.report.view.DataServletExt</servlet-class>
<init-param>
<param-name>license</param-name>
<param-value>runqianReportLicenseForWindows.dat</param-value>
</init-param>
<init-param>
<param-name>reportFileHome</param-name>
<param-value>/runqianReport</param-value>
</init-param>
<!-- Tomcat需要加JNDI前缀java:comp/env Weblogic的JNDI前缀为空 -->
<init-param>
<param-name>JNDIPrefix</param-name>
<param-value>java:comp/env</param-value>
</init-param>
<init-param>
<param-name>dataSource</param-name>
<!-- 数据源的声明之间用分号分隔 -->
<param-value>pcmdb,oracle,GBK</param-value>
</init-param>
<init-param>
<param-name>cachedParamsTimeout</param-name>
<param-value>120</param-value>
</init-param>
<init-param>
<!-- 缓存报表保存时间(分) -->
<param-name>cachedReportTimeout</param-name>
<param-value>120</param-value>
</init-param>
<init-param>
<!-- 报表只缓存到硬盘上,不在内存中保留 -->
<param-name>cachedToDiskOnly</param-name>
<param-value>no</param-value>
</init-param>
<init-param>
<!-- 可同时计算的大报表个数 -->
<param-name>maxConcurrentForBigReport</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<!-- 等待计算的大报表个数 -->
<param-name>maxWaitForBigReport</param-name>
<param-value>1</param-value>
</init-param>
<init-param>
<!-- 可同时计算的普通报表个数 -->
<param-name>maxConcurrentForReport</param-name>
<param-value>9999</param-value>
</init-param>
<init-param>
<!-- 等待计算的普通报表个数 -->
<param-name>maxWaitForReport</param-name>
<param-value>9999</param-value>
</init-param>
<init-param>
<param-name>logConfig</param-name>
<param-value>/WEB-INF/runqianReportLog.properties</param-value>
</init-param>
<init-param>
<param-name>appUrlPrefix</param-name>
<param-value></param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<servlet-name>com.runqian.report.view.SetDefaultTagProps</servlet-name>
<servlet-class>com.runqian.report.view.SetDefaultTagProps</servlet-class>
<init-param>
<param-name>printLabel</param-name>
<param-value>
<![CDATA[<img src="{appmap}/images/print.gif" border=no>]]>
</param-value>
</init-param>
<init-param>
<param-name>submit</param-name>
<param-value>保存数据</param-value>
</init-param>
<load-on-startup>10</load-on-startup>
</servlet>
<servlet>
<servlet-name>com.runqian.report.view.excel.ExcelReportServlet</servlet-name>
<servlet-class>com.runqian.report.view.excel.ExcelReportServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.report.view.excel.ConfigExcelServlet</servlet-name>
<servlet-class>com.runqian.report.view.excel.ConfigExcelServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.report.view.excel.SaveAsExcelServlet</servlet-name>
<servlet-class>com.runqian.report.view.excel.SaveAsExcelServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.report.view.pdf.PdfReportServlet</servlet-name>
<servlet-class>com.runqian.report.view.pdf.PdfReportServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.report.view.word.WordReportServlet</servlet-name>
<servlet-class>com.runqian.report.view.word.WordReportServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.report.control.PostAppletDataServlet</servlet-name>
<servlet-class>com.runqian.report.control.PostAppletDataServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.report.control.SaveAsExcelServlet</servlet-name>
<servlet-class>com.runqian.report.control.SaveAsExcelServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.report.view.SetReportParamsServlet</servlet-name>
<servlet-class>com.runqian.report.view.SetReportParamsServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.report.view.html.GraphServlet</servlet-name>
<servlet-class>com.runqian.report.view.html.GraphServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.report.view.html.PrintServlet</servlet-name>
<servlet-class>com.runqian.report.view.html.PrintServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.base.util.ReadJavaScriptServlet</servlet-name>
<servlet-class>com.runqian.base.util.ReadJavaScriptServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.report.input.SaveDataServlet</servlet-name>
<servlet-class>com.runqian.report.input.SaveDataServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.report.input.SaveToLocalServlet</servlet-name>
<servlet-class>com.runqian.report.input.SaveToLocalServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.report.input.SelectUploadFile</servlet-name>
<servlet-class>com.runqian.report.input.SelectUploadFile</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.report.input.UploadFile2DBServlet</servlet-name>
<servlet-class>com.runqian.report.input.UploadFile2DBServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.report.input.SaveSheetsServlet</servlet-name>
<servlet-class>com.runqian.report.input.SaveSheetsServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.report.input.UploadExcelServlet</servlet-name>
<servlet-class>com.runqian.report.input.UploadExcelServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.report.input.SelectExcelFileServlet</servlet-name>
<servlet-class>com.runqian.report.input.SelectExcelFileServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>com.runqian.report.view.text.TextFileServlet</servlet-name>
<servlet-class>com.runqian.report.view.text.TextFileServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>com.runqian.report.view.excel.ExcelReportServlet</servlet-name>
<url-pattern>/servlet/com.runqian.report.view.excel.ExcelReportServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.view.excel.ConfigExcelServlet
</servlet-name>
<url-pattern>/servlet/com.runqian.report.view.excel.ConfigExcelServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.view.excel.SaveAsExcelServlet
</servlet-name>
<url-pattern>/servlet/SaveAsExcel</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.view.pdf.PdfReportServlet</servlet-name>
<url-pattern>/servlet/com.runqian.report.view.pdf.PdfReportServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.view.word.WordReportServlet</servlet-name>
<url-pattern>/servlet/com.runqian.report.view.word.WordReportServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.view.DataServlet</servlet-name>
<url-pattern>/servlet/com.runqian.report.view.DataServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.view.SetReportParamsServlet</servlet-name>
<url-pattern>/setReportParams</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.control.SaveAsExcelServlet</servlet-name>
<url-pattern>/servlet/com.runqian.report.control.SaveAsExcelServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.control.PostAppletDataServlet</servlet-name>
<url-pattern>/servlet/com.runqian.report.control.PostAppletDataServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.view.html.GraphServlet</servlet-name>
<url-pattern>/servlet/com.runqian.report.view.html.GraphServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.view.html.PrintServlet</servlet-name>
<url-pattern>/servlet/com.runqian.report.view.html.PrintServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.base.util.ReadJavaScriptServlet</servlet-name>
<url-pattern>/servlet/com.runqian.base.util.ReadJavaScriptServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.input.SaveDataServlet</servlet-name>
<url-pattern>/servlet/com.runqian.report.input.SaveDataServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.input.SaveToLocalServlet</servlet-name>
<url-pattern>/servlet/com.runqian.report.input.SaveToLocalServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.input.SelectUploadFile</servlet-name>
<url-pattern>/servlet/com.runqian.report.input.SelectUploadFile</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.input.UploadFile2DBServlet</servlet-name>
<url-pattern>/servlet/com.runqian.report.input.UploadFile2DBServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.input.SaveSheetsServlet</servlet-name>
<url-pattern>/servlet/com.runqian.report.input.SaveSheetsServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.input.UploadExcelServlet</servlet-name>
<url-pattern>/servlet/com.runqian.report.input.UploadExcelServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.input.SelectExcelFileServlet</servlet-name>
<url-pattern>/servlet/com.runqian.report.input.SelectExcelFileServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>com.runqian.report.view.text.TextFileServlet</servlet-name>
<url-pattern>/servlet/com.runqian.report.view.text.TextFileServlet</url-pattern>
</servlet-mapping>
<!-- 润乾报表 end -->
<!-- taglib -->
<jsp-config>
<taglib>
<taglib-uri>http://www.runqian.com.cn/report</taglib-uri>
<taglib-location>/WEB-INF/taglib/runqianReport.tld</taglib-location>
</taglib>
</jsp-config>
2、tomcat下设置数据源
<Context docBase="E:\work\Workspaces\test\WebRoot" path="/s" reloadable="true">
<Resource name="pcmdb" auth="Container" type="javax.sql.DataSource" />
<ResourceParams name="pcmdb">
<parameter>
<name>username</name>
<value>devv2</value>
</parameter>
<parameter>
<name>password</name>
<value>v2</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>oracle.jdbc.OracleDriver</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:oracle:thin:@locahost:1521:pcmdb</value>
</parameter>
</ResourceParams>
</Context>
分享到:
相关推荐
安装完成后,你可以在VB.NET项目中引入水晶报表的相关引用,如`CrystalDecisions.CrystalReports.Engine`和`CrystalDecisions.Web`。 1. 创建报表:在水晶报表设计环境中,你可以创建一个新的报表或者导入已有的...
《润前报表应用开发教程》是一份全面介绍润前报表应用开发的学习资源,旨在帮助初学者和有经验的开发者快速掌握这一领域的核心技术。教程结合了理论讲解与实践代码,为学习者提供了丰富的学习材料,使其能够从零开始...
### 润干报表4.0技术白皮书知识点概览 #### 一、总体说明与概述 **润干报表4.0**是一款专为企业级报表制作与数据填报设计的高级报表软件。其核心价值在于提供了高效、灵活的报表设计与展现方案。此版本主要针对...
水晶报表的WEB例子(C#)
1. **安装和配置**: 首先,需要在开发环境中安装水晶报表的SDK,通常随Visual Studio一起提供。然后,在Web应用程序项目中添加对水晶报表的引用,如`CrystalDecisions.CrystalReports.Engine`和`CrystalDecisions....
润黔报表文档是一款专业的报表设计和管理工具,主要用于企业数据的可视化展示和分析。文档可能包含用户手册、教程、API参考、案例研究等,帮助用户理解如何有效地利用该软件进行报表设计、数据处理和信息呈现。 在...
从给定的文件信息中,我们可以提炼出与DevExpress XtraReports Web报表相关的一系列知识点。文件中提及的DX.10.2:Reporting是指DevExpress的10.2版本的报表组件,这是一个跨平台的报表解决方案,它提供了一套丰富的...
web报表控件 excel报表 可以方便的设计web报表并实现套打
ASP.NET Web 应用程序中的水晶报表(Crystal Reports)是一种强大的报表工具,广泛用于生成、设计和展示数据报告。在本篇文章中,我们将深入探讨如何在ASP.NET Web环境中使用水晶报表,结合Visual Studio 2005(VS...
【标题】"WEB程序报表C# 源码"揭示了这是一个关于Web应用程序开发的项目,专注于报表功能的实现,采用C#编程语言。在Web应用程序中,报表通常用于数据可视化,提供对数据库中信息的汇总、分析和展示。C#是微软开发的...
而Web报表设计是SAP中的一个重要组成部分,它允许用户通过Web界面创建和展示数据报告,便于数据分析和决策制定。 **Web报表设计原则** 1. **界面简单**:简洁的界面设计能够提高用户的使用体验,减少用户的学习...
本篇文章将详细探讨“web前端报表模版”和“图表”的相关知识点。 首先,报表模板是预先设计好的布局和样式,用于快速生成各种类型的报表。在Web前端,报表模板通常由HTML、CSS和JavaScript组成,可以是静态的或者...
ATGrid WEB报表控件打印插件是一款专为Web应用程序设计的高效报表工具,它提供了丰富的报表设计和打印功能,能够帮助开发者轻松实现网页中的数据展示和打印需求。这款控件适用于各种类型的Web应用,包括企业级的信息...
### SQL Server 2005 报表服务的配置与开发 #### 一、SQL Server 2005 报表服务概述 SQL Server 2005 Reporting Services(简称RS)是Microsoft SQL Server 2005的一个关键组件,主要用于创建、管理和分发商业智能...
【标题】:“免费报表控件WebChart” 在IT行业中,报表控件是开发人员用于创建、展示和交互式处理数据报表的重要工具。WebChart是一款专为网页开发设计的免费报表控件,它允许开发者轻松地在Web应用中集成各种报表...
下面将详细介绍微软本地报表Web打印的方法及其相关知识点。 首先,我们需要了解微软本地报表的基本结构。本地报表使用RDL(Report Definition Language)文件格式,这是一种XML语言,用于定义报表的布局、数据源和...
本文将深入探讨“web项目图形化报表”的相关知识点,特别关注与Java后台交互以及页面自定义。 首先,Java后台在图形化报表中的作用主要体现在数据处理和接口提供上。Java作为后端语言,能够处理大量的业务逻辑和...