<context-param>
<param-name>linux_direct</param-name>
<param-value>/u01/app/bea/user_project/domains/upload</param-value>
</context-param>
<!--批量工单 window存放目录 -->
<context-param>
<param-name>window_direct</param-name>
<param-value>d:\\upload</param-value>
</context-param>
servlet中获取
String linuxDirect=this.getServlet().getServletConfig().getServletContext().getInitParameter("linux_direct");
String windowDirect=this.getServlet().getServletConfig().getServletContext().getInitParameter("window_direct");