<?xml version="1.0" encoding="utf-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<!-- spring 配置 -->
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:applicationContext.xml</param-value>
</context-param>
<display-name/>
<!-- birt报表配置开始:以下为birt报表配置,由myEclise自动生成 -->
<context-param>
<description>Flag whether the report resources can only be accessed under the working folder. Defaults to false</description>
<param-name>WORKING_FOLDER_ACCESS_ONLY</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<description>Temporary document files directory. Defaults to ${Context Root}/documents</description>
<param-name>BIRT_VIEWER_DOCUMENT_FOLDER</param-name>
<param-value>WEB-INF/report-engine/documents</param-value>
</context-param>
<context-param>
<description>Flag whether to allow server-side printing. Possible values are ON and OFF. Defaults to ON</description>
<param-name>BIRT_VIEWER_PRINT_SERVERSIDE</param-name>
<param-value>ON</param-value>
</context-param>
<context-param>
<description>Memory size in MB for creating a cube.</description>
<param-name>BIRT_VIEWER_CUBE_MEMORY_SIZE</param-name>
<param-value/>
</context-param>
<context-param>
<description>Directory where to store all the birt report script libraries (JARs).. Defaults to ${Context Root}/scriptlib</description>
<param-name>BIRT_VIEWER_SCRIPTLIB_DIR</param-name>
<param-value>WEB-INF/report-engine/scriptlib</param-value>
</context-param>
<context-param>
<description>Temporary images/charts directory. Defaults to ${Context Root}/report/images</description>
<param-name>BIRT_VIEWER_IMAGE_DIR</param-name>
<param-value>WEB-INF/report-engine/images</param-value>
</context-param>
<context-param>
<description>BIRT viewer extended configuration file</description>
<param-name>BIRT_VIEWER_CONFIG_FILE</param-name>
<param-value>WEB-INF/report-engine/viewer.properties</param-value>
</context-param>
<context-param>
<description>Preview report rows limit. An empty value means no limit.</description>
<param-name>BIRT_VIEWER_MAX_ROWS</param-name>
<param-value/>
</context-param>
<context-param>
<description>Max cube fetch rows levels limit for report preview (Only used when previewing a report design file using the preview pattern). Defaults to return all levels</description>
<param-name>BIRT_VIEWER_MAX_CUBE_ROWLEVELS</param-name>
<param-value/>
</context-param>
<context-param>
<description>Default locale setting</description>
<param-name>BIRT_VIEWER_LOCALE</param-name>
<param-value>zh_CN</param-value>
</context-param>
<context-param>