web中的常用元素有request, session, application,在struts2中获取这些元素大致有四种方法。
第一种方法依赖于容器ActionContext,它是一个map,它里面存入的三个web对象类型也是Map,因此
这种方式获取的三个web元素对象是map类型request,session, application. 这些元素将会被存入Stack Context
(即ActionContext,在页面上可以通过<s:debug></s:debug>来查看),而且这些map类型的web元素将会被action
复制到真实的HttpServletRequest,HttpSession, ServletContext对象中去。这样在页面上可以通过两种方式来
获取到这些web元素的值。
方法一的示例:
action的代码:
上面的ActionContext是一个map容器,getContext方法是从ThreadLocal上获取当前进程的相关map类型的web元素。
由于它是存入到stack context中,因此在显示页面上可以通过<s:property/>标签来获取,如下:
使用这种方法显示时,需要使用ongl表达式,另外还需要在其key前面加一个“#”符号才能正确访问到相关值。在stack
context中,它是一个map。三个web元素存入其中的key值分别是request, session, application,这三个web元素对应存
入的值也是一个map集合。即request.key1是获取到request元素对应的值(map集合)中的key为key1的值。
同时因为这些map类型的web元素会copy到真实的HttpServletRequest, HttpSession, ServletContext对象中,因此
在jsp显示页面也可以通过下面的方式来获取:
从中我们可以看到,在将map类型的web元素copy到真是的web元素中,它是将map中的每个键值对当做一个attribute属性
copy过去的。
方法二:
采用IoC, Invese of Controll(反转控制), 核心思想就是将你设计好的类交给系统去控制,而不是在你的类内部控制。
也就是说将对象的创建和获取提取到外部,由外部容器提供需要的组件
方法二的action代码如下:
它实现了相关接口,外部创建此action对象将调用这些接口的方法能够将相关map类型的web元素传入给此action
的对应web元素属性。这些map类型的web元素,其实就是从stack context中取出来赋给此action的;核心代码如下:
方法三:
此方法也是依赖于容器,但是它获取到的web元素是真是的web类型元素,code如下所示:
上述代码中ServletActionContext.getRequest()获取到的是一个HttpServletRequest对象,它
其实也存放在stack context中,键值为com.opensymphony.xwork2.dispatcher.HttpServletRequest。
同样,action也会将这些真实web元素的值copy一份到map类型的web元素中。这样在jsp页面同样可以
使用方法一提供的两种方法来获取相关值。
方法四:
是使用IoC方法,来获取真实的web元素,原理通方法二,其代码如下:
使用此中方法,其reqeust值也是从stack context中取出来的,源码如下所示:
同样,action也会将这些真实web元素的值copy一份到map类型的web元素中。这样在jsp页面同样可以
第一种方法依赖于容器ActionContext,它是一个map,它里面存入的三个web对象类型也是Map,因此
这种方式获取的三个web元素对象是map类型request,session, application. 这些元素将会被存入Stack Context
(即ActionContext,在页面上可以通过<s:debug></s:debug>来查看),而且这些map类型的web元素将会被action
复制到真实的HttpServletRequest,HttpSession, ServletContext对象中去。这样在页面上可以通过两种方式来
获取到这些web元素的值。
方法一的示例:
action的代码:
public class MyAction3 extends ActionSupport {
private Map<String, Object>request;
private Map<String, Object>session;
private Map<String, Object>application;
public MyAction3(){
request = (Map)ActionContext.getContext().get("request");//从actionContext容器中获取
session = (Map)ActionContext.getContext().getSession();
application = (Map)ActionContext.getContext().getApplication();
}
@Override
public String execute() throws Exception {
// TODO Auto-generated method stub
request.put("key1", "value1");
session.put("key2", "value2");
application.put("key3", "value3");
return super.execute();
}
}
上面的ActionContext是一个map容器,getContext方法是从ThreadLocal上获取当前进程的相关map类型的web元素。
由于它是存入到stack context中,因此在显示页面上可以通过<s:property/>标签来获取,如下:
<s:property value="#request.key1"/>
<s:property value="#session.key2"/>
<s:property value="#application.key3"/>
使用这种方法显示时,需要使用ongl表达式,另外还需要在其key前面加一个“#”符号才能正确访问到相关值。在stack
context中,它是一个map。三个web元素存入其中的key值分别是request, session, application,这三个web元素对应存
入的值也是一个map集合。即request.key1是获取到request元素对应的值(map集合)中的key为key1的值。
同时因为这些map类型的web元素会copy到真实的HttpServletRequest, HttpSession, ServletContext对象中,因此
在jsp显示页面也可以通过下面的方式来获取:
<%=request.getAttribute("key1") %>
<%=session.getAttribute("key2") %>
<%=application.getAttribute("key3") %>
从中我们可以看到,在将map类型的web元素copy到真是的web元素中,它是将map中的每个键值对当做一个attribute属性
copy过去的。
方法二:
采用IoC, Invese of Controll(反转控制), 核心思想就是将你设计好的类交给系统去控制,而不是在你的类内部控制。
也就是说将对象的创建和获取提取到外部,由外部容器提供需要的组件
方法二的action代码如下:
public class MyAction2 extends ActionSupport implements RequestAware,SessionAware, ApplicationAware {
private Map<String, Object> request;
private Map<String, Object> session;
private Map<String, Object> application;
//DI dependency injection
//IoC inverse of control
public String execute() {
request.put("key1", "value1");
session.put("key2", "value2");
application.put("key3", "vlaue3");
return SUCCESS;
}
@Override
public void setRequest(Map<String, Object> request) {
this.request = request;
}
@Override
public void setSession(Map<String, Object> session) {
this.session = session;
}
@Override
public void setApplication(Map<String, Object> application) {
this.application = application;
}
}
它实现了相关接口,外部创建此action对象将调用这些接口的方法能够将相关map类型的web元素传入给此action
的对应web元素属性。这些map类型的web元素,其实就是从stack context中取出来赋给此action的;核心代码如下:
final Object action = invocation.getAction();
final ActionContext context = invocation.getInvocationContext(); //
if (action instanceof ServletRequestAware) {
HttpServletRequest request = (HttpServletRequest) context.get(HTTP_REQUEST);
((ServletRequestAware) action).setServletRequest(request);
}
if (action instanceof ServletResponseAware) {
HttpServletResponse response = (HttpServletResponse) context.get(HTTP_RESPONSE);
((ServletResponseAware) action).setServletResponse(response);
}
if (action instanceof ParameterAware) {
((ParameterAware) action).setParameters((Map)context.getParameters());
}
if (action instanceof ApplicationAware) {
((ApplicationAware) action).setApplication(context.getApplication());
}
if (action instanceof SessionAware) {
((SessionAware) action).setSession(context.getSession());
}
if (action instanceof RequestAware) {
((RequestAware) action).setRequest((Map) context.get("request"));
}
同时将会copy到真是的web元素对象中。因此,在jsp页面上显示也方法一一样,有两种方法。
下图是上面采用IoC方法的流程图:
方法三:
此方法也是依赖于容器,但是它获取到的web元素是真是的web类型元素,code如下所示:
public class MyAction3 extends ActionSupport {
private HttpServletRequest request;
private HttpSession session;
private ServletContext application;
public MyAction3() {
request = ServletActionContext.getRequest(); //ServletActionContext中获取
session = request.getSession();
application = session.getServletContext();
}
public String execute() {
request.setAttribute("key1", "value1");
session.setAttribute("key2", "value2");
application.setAttribute("key3", "value3");
return SUCCESS;
}
}
上述代码中ServletActionContext.getRequest()获取到的是一个HttpServletRequest对象,它
其实也存放在stack context中,键值为com.opensymphony.xwork2.dispatcher.HttpServletRequest。
同样,action也会将这些真实web元素的值copy一份到map类型的web元素中。这样在jsp页面同样可以
使用方法一提供的两种方法来获取相关值。
方法四:
是使用IoC方法,来获取真实的web元素,原理通方法二,其代码如下:
public class MyAction4 extends ActionSupport implements ServletRequestAware {
private HttpServletRequest request;
private HttpSession session;
private ServletContext application;
public String execute() {
request.setAttribute("key1", "value1");
session.setAttribute("key2", "value2");
application.setAttribute("key3", "value3");
return SUCCESS;
}
@Override
public void setServletRequest(HttpServletRequest request) {
this.request = request;
this.session = request.getSession();
this.application = session.getServletContext();
}
}
使用此中方法,其reqeust值也是从stack context中取出来的,源码如下所示:
if (action instanceof ServletRequestAware) {
HttpServletRequest request = (HttpServletRequest) context.get(HTTP_REQUEST);
((ServletRequestAware) action).setServletRequest(request);
}
同样,action也会将这些真实web元素的值copy一份到map类型的web元素中。这样在jsp页面同样可以
使用方法一提供的两种方法来获取相关值。
These items are available using the #key notation
Key | Value |
---|---|
com.opensymphony.xwork2.dispatcher.HttpServletRequest | org.apache.struts2.dispatcher.StrutsRequestWrapper@2938d |
application | {org.apache.AnnotationProcessor=org.apache.catalina.util.DefaultAnnotationProcessor@1085d94, com.sun.faces.config.WebConfiguration=com.sun.faces.config.WebConfiguration@13f8452, org.apache.jasper.runtime.JspApplicationContextImpl=org.apache.jasper.runtime.JspApplicationContextImpl@17a863f, org.apache.catalina.resources=org.apache.naming.resources.ProxyDirContext@103b09a, javax.servlet.context.tempdir=C:\Myeclipse\Workspace3\.metadata\.me_tcat\work\Catalina\localhost\Struts2_002, org.apache.catalina.jsp_classpath=/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/classes/;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/asm-3.3.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/asm-commons-3.3.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/asm-tree-3.3.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/commons-fileupload-1.3.1.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/commons-io-2.2.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/commons-lang3-3.1.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/commons-logging-1.1.3.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/freemarker-2.3.19.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/javassist-3.11.0.GA.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/jsf-api.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/jsf-impl.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/jstl-1.2.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/log4j-1.2.17.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/ognl-3.0.6.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/struts2-core-2.3.16.1.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/xwork-core-2.3.16.1.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.ws.xfire_9.0.0.me201109130910/lib/webservices-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.ws.xfire_9.0.0.me201109130910/lib/webservices-extra-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.ws.xfire_9.0.0.me201109130910/lib/webservices-extra.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.ws.xfire_9.0.0.me201109130910/lib/webservices-rt.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.ws.xfire_9.0.0.me201109130910/lib/webservices-tools.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/annotations-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/catalina-ant.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/catalina-ha.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/catalina-tribes.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/catalina.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/el-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/jasper-el.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/jasper-jdt.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/jasper.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/jsp-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/servlet-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/tomcat-coyote.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/tomcat-dbcp.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/tomcat-i18n-es.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/tomcat-i18n-fr.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/tomcat-i18n-ja.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/bin/bootstrap.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/lib/tools.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/ext/dnsns.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/ext/localedata.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/ext/sunjce_provider.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/ext/sunmscapi.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/ext/sunpkcs11.jar, org.apache.catalina.WELCOME_FILES=[Ljava.lang.String;@113cefe} |
com.opensymphony.xwork2.ActionContext.locale | zh_CN |
com.opensymphony.xwork2.dispatcher.HttpServletResponse | org.apache.catalina.connector.ResponseFacade@37a013 |
current.property.path | null |
com.opensymphony.xwork2.ActionContext.application | {org.apache.AnnotationProcessor=org.apache.catalina.util.DefaultAnnotationProcessor@1085d94, com.sun.faces.config.WebConfiguration=com.sun.faces.config.WebConfiguration@13f8452, org.apache.jasper.runtime.JspApplicationContextImpl=org.apache.jasper.runtime.JspApplicationContextImpl@17a863f, org.apache.catalina.resources=org.apache.naming.resources.ProxyDirContext@103b09a, javax.servlet.context.tempdir=C:\Myeclipse\Workspace3\.metadata\.me_tcat\work\Catalina\localhost\Struts2_002, org.apache.catalina.jsp_classpath=/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/classes/;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/asm-3.3.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/asm-commons-3.3.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/asm-tree-3.3.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/commons-fileupload-1.3.1.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/commons-io-2.2.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/commons-lang3-3.1.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/commons-logging-1.1.3.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/freemarker-2.3.19.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/javassist-3.11.0.GA.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/jsf-api.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/jsf-impl.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/jstl-1.2.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/log4j-1.2.17.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/ognl-3.0.6.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/struts2-core-2.3.16.1.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/xwork-core-2.3.16.1.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.ws.xfire_9.0.0.me201109130910/lib/webservices-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.ws.xfire_9.0.0.me201109130910/lib/webservices-extra-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.ws.xfire_9.0.0.me201109130910/lib/webservices-extra.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.ws.xfire_9.0.0.me201109130910/lib/webservices-rt.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.ws.xfire_9.0.0.me201109130910/lib/webservices-tools.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/annotations-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/catalina-ant.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/catalina-ha.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/catalina-tribes.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/catalina.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/el-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/jasper-el.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/jasper-jdt.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/jasper.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/jsp-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/servlet-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/tomcat-coyote.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/tomcat-dbcp.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/tomcat-i18n-es.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/tomcat-i18n-fr.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/tomcat-i18n-ja.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/bin/bootstrap.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/lib/tools.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/ext/dnsns.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/ext/localedata.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/ext/sunjce_provider.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/ext/sunmscapi.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/ext/sunpkcs11.jar, org.apache.catalina.WELCOME_FILES=[Ljava.lang.String;@113cefe} |
last.property.accessed | null |
__component_stack | [org.apache.struts2.components.Debug@1ee667c] |
attr | AttributeMap {request={struts.valueStack=com.opensymphony.xwork2.ognl.OgnlValueStack@88249c, __cleanup_recursion_counter=1}, session={}, application={org.apache.AnnotationProcessor=org.apache.catalina.util.DefaultAnnotationProcessor@1085d94, com.sun.faces.config.WebConfiguration=com.sun.faces.config.WebConfiguration@13f8452, org.apache.jasper.runtime.JspApplicationContextImpl=org.apache.jasper.runtime.JspApplicationContextImpl@17a863f, org.apache.catalina.resources=org.apache.naming.resources.ProxyDirContext@103b09a, javax.servlet.context.tempdir=C:\Myeclipse\Workspace3\.metadata\.me_tcat\work\Catalina\localhost\Struts2_002, org.apache.catalina.jsp_classpath=/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/classes/;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/asm-3.3.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/asm-commons-3.3.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/asm-tree-3.3.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/commons-fileupload-1.3.1.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/commons-io-2.2.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/commons-lang3-3.1.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/commons-logging-1.1.3.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/freemarker-2.3.19.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/javassist-3.11.0.GA.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/jsf-api.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/jsf-impl.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/jstl-1.2.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/log4j-1.2.17.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/ognl-3.0.6.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/struts2-core-2.3.16.1.jar;/C:/Myeclipse/Workspace3/.metadata/.me_tcat/webapps/Struts2_002/WEB-INF/lib/xwork-core-2.3.16.1.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.ws.xfire_9.0.0.me201109130910/lib/webservices-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.ws.xfire_9.0.0.me201109130910/lib/webservices-extra-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.ws.xfire_9.0.0.me201109130910/lib/webservices-extra.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.ws.xfire_9.0.0.me201109130910/lib/webservices-rt.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.ws.xfire_9.0.0.me201109130910/lib/webservices-tools.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/annotations-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/catalina-ant.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/catalina-ha.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/catalina-tribes.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/catalina.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/el-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/jasper-el.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/jasper-jdt.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/jasper.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/jsp-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/servlet-api.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/tomcat-coyote.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/tomcat-dbcp.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/tomcat-i18n-es.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/tomcat-i18n-fr.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/lib/tomcat-i18n-ja.jar;/C:/Myeclipse/Common/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806/tomcat/bin/bootstrap.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/lib/tools.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/ext/dnsns.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/ext/localedata.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/ext/sunjce_provider.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/ext/sunmscapi.jar;/C:/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/ext/sunpkcs11.jar, org.apache.catalina.WELCOME_FILES=[Ljava.lang.String;@113cefe}} |
com.opensymphony.xwork2.dispatcher.ServletContext | org.apache.catalina.core.ApplicationContextFacade@1df8a9c |
com.opensymphony.xwork2.ActionContext.container | com.opensymphony.xwork2.inject.ContainerImpl@105298d |
com.opensymphony.xwork2.ActionContext.session | {} |
com.opensymphony.xwork2.dispatcher.PageContext | org.apache.jasper.runtime.PageContextImpl@1979448 |
session | {} |
com.opensymphony.xwork2.util.ValueStack.ValueStack | com.opensymphony.xwork2.ognl.OgnlValueStack@88249c |
__requestWrapper.getAttribute | false |
last.bean.accessed | null |
request | {struts.valueStack=com.opensymphony.xwork2.ognl.OgnlValueStack@88249c, __cleanup_recursion_counter=1} |
parameters | {} |
com.opensymphony.xwork2.ActionContext.parameters | {} |