原创 關於Struts2中的錯誤:例如There is no Action mapped for namespace / and action name product-input.

           在配置struts.xml 文件時,會出現   There is no Action mapped for namespace / and action name ....    意思是沒有product-input的

原创 File部分方法的使用

    示例:            File file = new File("D:\\test\\1.txt");             boolean res = file.createNewFile();             

原创 關於c3p0 的報錯:com.mchange.v2.c3p0......

當缺少c3p0.jar包時:當出現缺少mchange-commons-java-0.2.3.4.jar時在這裏要注意一點:C3p0的版本問題,,不是說版本越高越好的。 版本高不一定代表它穩定版本高不一定說它依賴的其他jar包也能支持 所以當