<bean:page id="thissession" property="session"/>
<bean:write name="thissession" property="creationTime"/>
可以显示
但是
<bean:page id="thissession" proerpty="session"/>
<bean:write name="thissession" property="ContentLength"/>
显示
javax.servlet.jsp.JspException: No getter method for property ContentLength
of bean thiss
at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:968)
at org.apache.struts.taglib.bean.WriteTag.doStartTag(WriteTag.java:286)
at _test__jsp._jspService(/test.jsp:34)
at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
at com.caucho.jsp.Page.subservice(Page.java:506)
at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182)
at com.caucho.server.http.Invocation.service(Invocation.java:315)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:253)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:170)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:534)请各路高手回帖急急
<bean:write name="thissession" property="creationTime"/>
可以显示
但是
<bean:page id="thissession" proerpty="session"/>
<bean:write name="thissession" property="ContentLength"/>
显示
javax.servlet.jsp.JspException: No getter method for property ContentLength
of bean thiss
at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:968)
at org.apache.struts.taglib.bean.WriteTag.doStartTag(WriteTag.java:286)
at _test__jsp._jspService(/test.jsp:34)
at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
at com.caucho.jsp.Page.subservice(Page.java:506)
at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182)
at com.caucho.server.http.Invocation.service(Invocation.java:315)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:253)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:170)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:534)请各路高手回帖急急
我也在学习中;请高手具体说说吧