Struts2得到Application
ActionContext ctx = ActionContext.getContext();//得到Struts2的上下文Map application=ctx.getApplication();