web.xml:
<context-param>
<param-name>backXmlFilePath</param-name>
<param-value>e:/back/customer_report_config.xml</param-value>
</context-param>
程序中:
private String backXmlFilePath= ServletActionContext.getServletContext().getInitParameter("backXmlFilePath");