Struts ValueStack Debug
Value Stack Contents
Object Property Name Property Value
com.opensymphony.xwork2.interceptor.ExceptionHolder exceptionStack java.lang.NullPointerException at whg.action.AddBullet
exception java.lang.NullPointerException
whg.action.AddBulletinAction texts null
errorMessages []
locale zh_CN
actionMessages []
mgr There is no read method for mgr
authid 123
content 345
title 34
actionErrors []
errors {}
fieldErrors {}
bulletin null
bulletindao null
appendix 234
com.opensymphony.xwork2.DefaultTextProvider texts null
Stack Context
These items are available using the #key notation Key Value
com.opensymphony.xwork2.dispatcher.HttpServletRequest org.apache.struts2.dispatcher.StrutsRequestWrapper@1e6271c
com.opensymphony.xwork2.ActionContext.locale zh_CN
com.opensymphony.xwork2.dispatcher.HttpServletResponse org.apache.catalina.connector.ResponseFacade@39436
com.opensymphony.xwork2.ActionContext.name addbulletin
com.opensymphony.xwork2.ActionContext.application {com.sun.faces.config.WebConfiguration=com.sun.faces.config.WebConfigur
com.opensymphony.xwork2.ActionContext.conversionErrors {}
__component_stack [org.apache.struts2.components.Debug@1d65613]
last.property.accessed null
com.opensymphony.xwork2.dispatcher.ServletContext org.apache.catalina.core.ApplicationContextFacade@85bf5f
com.opensymphony.xwork2.dispatcher.PageContext org.apache.jasper.runtime.PageContextImpl@156dc34
__requestWrapper.getAttribute false
request {struts.request_uri=/whg_test/addbulletin.action, javax.servlet.forward.servlet_path=/addbulletin.action, javax.s
last.bean.accessed null
action whg.action.AddBulletinAction@474b34
parameters {content=[Ljava.lang.String;@9a4938, title=[Ljava.lang.String;@13d0a33, appendix=[Ljava.lang.String;@68c5fd, a
__link [Ljava.lang.Object;@14e61f7
application {com.sun.faces.config.WebConfiguration=com.sun.faces.config.WebConfiguration@a04bfe, freeer.Configuration
xwork.NullHandler.createNullObjects false
current.property.path null
attr org.apache.struts2.util.AttributeMap@1bbe870
com.opensymphony.xwork2.ActionContext.container com.opensymphony.xwork2.inject.ContainerImpl@dafc3
com.opensymphony.xwork2.ActionContext.session {userid=342224197902151232}
com.opensymphony.xwork2.ActionContext.actionInvocation com.opensymphony.xwork2.DefaultActionInvocation@982611
com.opensymphony.xwork2.util.ValueStack.ValueStack com.opensymphony.xwork2.ognl.OgnlValueStack@182bd03
session {userid=342224197902151232}
report.conversion.errors false
xwork.MethodAccessor.denyMethodExecution false
struts.actionMapping org.apache.struts2.dispatcher.mapper.ActionMapping@2b17b5
com.opensymphony.xwork2.ActionContext.parameters {appendix=[Ljava.lang.String;@68c5fd, authid=[Ljava.lang.String;@9e7296,
Value Stack Contents
Object Property Name Property Value
com.opensymphony.xwork2.interceptor.ExceptionHolder exceptionStack java.lang.NullPointerException at whg.action.AddBullet
exception java.lang.NullPointerException
whg.action.AddBulletinAction texts null
errorMessages []
locale zh_CN
actionMessages []
mgr There is no read method for mgr
authid 123
content 345
title 34
actionErrors []
errors {}
fieldErrors {}
bulletin null
bulletindao null
appendix 234
com.opensymphony.xwork2.DefaultTextProvider texts null
Stack Context
These items are available using the #key notation Key Value
com.opensymphony.xwork2.dispatcher.HttpServletRequest org.apache.struts2.dispatcher.StrutsRequestWrapper@1e6271c
com.opensymphony.xwork2.ActionContext.locale zh_CN
com.opensymphony.xwork2.dispatcher.HttpServletResponse org.apache.catalina.connector.ResponseFacade@39436
com.opensymphony.xwork2.ActionContext.name addbulletin
com.opensymphony.xwork2.ActionContext.application {com.sun.faces.config.WebConfiguration=com.sun.faces.config.WebConfigur
com.opensymphony.xwork2.ActionContext.conversionErrors {}
__component_stack [org.apache.struts2.components.Debug@1d65613]
last.property.accessed null
com.opensymphony.xwork2.dispatcher.ServletContext org.apache.catalina.core.ApplicationContextFacade@85bf5f
com.opensymphony.xwork2.dispatcher.PageContext org.apache.jasper.runtime.PageContextImpl@156dc34
__requestWrapper.getAttribute false
request {struts.request_uri=/whg_test/addbulletin.action, javax.servlet.forward.servlet_path=/addbulletin.action, javax.s
last.bean.accessed null
action whg.action.AddBulletinAction@474b34
parameters {content=[Ljava.lang.String;@9a4938, title=[Ljava.lang.String;@13d0a33, appendix=[Ljava.lang.String;@68c5fd, a
__link [Ljava.lang.Object;@14e61f7
application {com.sun.faces.config.WebConfiguration=com.sun.faces.config.WebConfiguration@a04bfe, freeer.Configuration
xwork.NullHandler.createNullObjects false
current.property.path null
attr org.apache.struts2.util.AttributeMap@1bbe870
com.opensymphony.xwork2.ActionContext.container com.opensymphony.xwork2.inject.ContainerImpl@dafc3
com.opensymphony.xwork2.ActionContext.session {userid=342224197902151232}
com.opensymphony.xwork2.ActionContext.actionInvocation com.opensymphony.xwork2.DefaultActionInvocation@982611
com.opensymphony.xwork2.util.ValueStack.ValueStack com.opensymphony.xwork2.ognl.OgnlValueStack@182bd03
session {userid=342224197902151232}
report.conversion.errors false
xwork.MethodAccessor.denyMethodExecution false
struts.actionMapping org.apache.struts2.dispatcher.mapper.ActionMapping@2b17b5
com.opensymphony.xwork2.ActionContext.parameters {appendix=[Ljava.lang.String;@68c5fd, authid=[Ljava.lang.String;@9e7296,
whg.action.AddBulletinAction texts null
mgr There is no read method for mgr
我 在网上查了,说是 用 断点调试 可以发现 具体原因,我试试。