2008-4-12 10:40:53 org.apache.struts.action.RequestProcessor processException
警告: Unhandled Exception thrown: class java.lang.NullPointerException
2008-4-12 10:40:53 org.apache.catalina.core.ApplicationContext log
信息: java.lang.NullPointerException
这个错误有可能是因为由于长时间没有用页面,导致页面Session失效,从session里面取出数据的时候导致的错误!
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Invalid column name: XXXXX
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.base.BaseResultSet.getColumnOrdinal(Unknown Source)
at com.microsoft.jdbc.base.BaseResultSet.getInt(Unknown Source)
这个错误是因为在sql语句里面没有写某些字段,但是在下面对取出结果操作时,经行了其他字段的读取
HTTP Status 500 - No input attribute for mapping path /operatorSelectCarowner
type Status report
message No input attribute for mapping path /operatorSelectCarowner
description The server encountered an internal error (No input attribute for mapping path /operatorSelectCarowner) that prevented it from fulfilling this request.
是因为你在action里面配置的时候配置上了attribute和name属性,但是没有写input属性,在运行validate方法的时候,要检测input属性的!