12:52:31,162 INFO Logger:51 - Logging using commons-logging.
12:52:31,287 INFO DWRServlet:51 - retrieved system configuration file: weblogic.utils.zip.SafeZipFileInputStream@2453319
12:52:31,334 INFO DefaultConfiguration:51 - Creator 'jsf' not loaded due to NoClassDefFoundError. This is only an problem if you wanted to use it. Cause: javax/faces/el/ValueBinding (jsf-api.jar)
12:52:31,349 INFO DefaultConfiguration:51 - Creator 'pageflow' not loaded due to ClassNotFoundException. This is only an problem if you wanted to use it. Cause: Beehive/Weblogic Creator not available. (可以不用理会)
12:52:31,349 INFO DefaultConfiguration:51 - Creator 'script' not loaded due to NoClassDefFoundError. This is only an problem if you wanted to use it. Cause: org/apache/bsf/BSFException (bsf-2.3.0.jar)
12:52:31,412 INFO DefaultConfiguration:51 - Converter 'jdom' not loaded due to NoClassDefFoundError. This is only an problem if you wanted to use it. Cause: org/jdom/Document (jdom-1.0.jar)
12:52:31,443 INFO DefaultConfiguration:51 - Converter 'hibernate' not loaded due to ClassNotFoundException. This is only an problem if you wanted to use it. Cause: Failed to find either org.hibernate.Hibernate or net.sf.hibernate.Hibernate (hibernate-3.0.1.jar ).
12:52:31,459 INFO DefaultConverterManager:51 - Type 'org.jdom.Document' is not convertable due to missing converter 'jdom'. This is only an problem if you wanted to use it.
12:52:31,459 INFO DefaultConverterManager:51 - Type 'org.jdom.Element' is not convertable due to missing converter 'jdom'. This is only an problem if you wanted to use it.
添加相应的包,
http://www.findjar.com/jar/jdom/jars/jdom-1.0.jar.html
http://www.java2s.com/Code/Jar/Spring-Related/Downloadjsfapijar.htm
查找相应的CLASS,下载包
13:20:43,131 WARN DefaultConverterManager:59 - Missing type info for save_yhsj(0<0>). Assuming this is a map with String keys. Please add to <signatures> in dwr.xml
13:20:43,131 WARN DefaultConverterManager:59 - Missing type info for save_yhsj(0<1>). Assuming this is a map with String keys. Please add to <signatures> in dwr.xml
13:20:43,146 INFO ExecuteQuery:51 - Exec[0]: FyglImpl.save_yhsj()
在页面中:
function saveSjjl(){
var param=new Object();
param["S_nbxh"]=document.form1.S_nbxh.value;
param["S_yhmc"]=document.form2.S_yhmc.value;
param["D_cbsj"]=document.form2.D_cbsj.value;
param["S_rqsj"]=document.form2.S_rqsj.value;
param["S_cbry"]=document.form2.S_cbry.value;
FyglImpl.save_yhsj(param,{
callback:function(str) {
$('saveSjjl').disabled = true;
alert("保存成功!");
},
timeout:5000,
errorHandler:function(message) { alert("Oops: " + message); }
});
}
CLASS中:
public void save_yhsj(Map param) {}
解决方法:
<signatures>
<![CDATA[
import java.util.Map;
import com.fygl.implement.FyglImpl;
FyglImpl.save_yhsj(Map<String,String> param);
]]>
</signatures>