tomcat容器里报该错误如何解决
web.action.RyxxdjAction: Error setting expression 'fprovince' with value '[Ljava
.lang.String;@135d780'
[framework] data:2011-08-22 20:19:53 grade:ERROR class:com.opensymphony.xwork
2.interceptor.ParametersInterceptor message:ParametersInterceptor - [setParamet
ers]:
Unexpected Exception caught setting 'mprovince' on 'class com.wiseek.csrk.
web.action.RyxxdjAction: Error setting expression 'mprovince' with value '[Ljava
.lang.String;@1d7237b'
2011-8-22 20:20:28 com.fr.web.core.SessionDealWith closeSession
信息: Close Session: 1314015495937_3882
[framework] data:2011-08-22 20:21:55 grade:ERROR class:com.opensymphony.xwork
2.interceptor.ParametersInterceptor message:ParametersInterceptor - [setParamet
ers]: Unexpected Exception caught setting 'addprovince' on 'class com.wiseek.csr
k.web.action.RyxxdjAction: Error setting expression 'addprovince' with value '[L
java.lang.String;@1f51103'
------解决方案--------------------你需要写get set方法。
------解决方案--------------------
我也明白了
<input type="text" name="t1">
<input type="text" name="t1">
比如上面两个id一样,页面改成这样
<input type="text" name="t1">
<input type="text" name="t2">
或者RyxxdjAction中,private String[] t1
public String[] getT1() {
return t1;
}
public void setT1(String[] t1) {
this.t1 = t1;
}
------解决方案--------------------7楼替我回答了,你试试看。
------解决方案--------------------
------解决方案--------------------明显的 是set值的方法 传入的参数错误啊
------解决方案--------------------数据不匹配..