日期:2014-05-17  浏览次数:20729 次

struts2 英文值传递出现乱码! 在线等高手江湖救急!!!!
2011-10-20 22:39:04,125 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - Property: password
2011-10-20 22:39:04,125 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - Class: ssh2.wq.fn.entity.UserInfo
2011-10-20 22:39:04,140 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - converter is null for property password. Mapping size: 0
2011-10-20 22:39:04,140 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - field-level type converter for property [password] = none found
2011-10-20 22:39:04,140 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - Property: ui.password
2011-10-20 22:39:04,140 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - Class: ssh2.wq.fn.action.loginAction
2011-10-20 22:39:04,156 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - converter is null for property ui.password. Mapping size: 0
2011-10-20 22:39:04,156 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - global-level type converter for property [password] = none found
2011-10-20 22:39:04,156 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - falling back to default type converter [com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter@1629e96]
2011-10-20 22:39:04,156 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - Property: username
2011-10-20 22:39:04,156 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - Class: ssh2.wq.fn.entity.UserInfo
2011-10-20 22:39:04,156 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - field-level type converter for property [username] = none found
2011-10-20 22:39:04,156 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - Property: ui.username
2011-10-20 22:39:04,156 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - Class: ssh2.wq.fn.action.loginAction
2011-10-20 22:39:04,156 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - global-level type converter for property [username] = none found
2011-10-20 22:39:04,156 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - falling back to default type converter [com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter@1629e96]
2011-10-20 22:39:04,156 DEBUG [org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor] - Validating //loginAction with method doLogin.
2011-10-20 22:39:04,234 DEBUG [com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor] - Invoking validate() on action ssh2.wq.fn.action.loginAction@6e56ae
2011-10-20 22:39:04,234 DEBUG [com.opensymphony.xwork2.interceptor.PrefixMethodInvocationUtil] - cannot find method [validateDoLogin] in action [ssh2.wq.fn.action.loginAction@6e56ae]
2011-10-20 22:39:04,234 DEBUG [com.opensymphony.xwork2.interceptor.PrefixMethodInvocationUtil] - cannot find method [validateDoDoLogin] in action [ssh2.wq.fn.action.loginAction@6e56ae]
2011-10-20 22:39:04,234 DEBUG [com.opensymphony.xwork2.DefaultActionInvocation] - Executing action method = doLogin
kaka
99e4921ecea 5c471c00c4727cadb 8d98b7ab9637d41bc 230148a5c28d7f
affcddb3107 3ec9a0851cd2c c8d171006d0d527 4448193a93
2d3055cad0 722350e9c90f81a0dd 60117f3989c5e1 c94cae90e0ef
7eba6d44a7d3 8a2cc8e0d860f9fb71e0b429 a6956bee0d347e94d3
220701d440b e229f5571c442ff ea3d47b51eab15

"kaka",
"99e4921ecea 5c471c00c4727cadb 8d98b7ab9637d41bc 230148a5c28d7f
affcddb3107 3ec9a0851cd2c c8d171006d0d527 4448193a93
2d3055cad0 722350e9c90f81a0dd 60117f3989c5e1 c94cae90e0ef
7eba6d44a7d3 8a2cc8e0d860f9fb71e0b429 a6956bee0d347e94d3
220701d440b e229f5571c442ff ea3d47b51eab15

"这是我在控制台的一个输出:
  System.out.println(ui.getUsername());
System.out.println(ui.getPassword());
List userList= userInfo