原创 [轉]spring mvc 中文亂碼 post與get的方法解決

先在在web.xml中加上CharacterEncodingFilter 編碼過濾器   過濾所有請求,但還是有問題,最後發現是表單的問題,在表單中method默認是get,而以上過濾器只對post有效果,如果是get,需要修改 Tom

原创 Linux運行service iptables save報錯

執行service iptables save 出現”Failed to restart iptables.service: Unit iptables.service failed to load: No such file or

原创 systemctl start iptables Failed to issue method call: Unit iptables.service fail

systemctl start iptables Failed to issue method call: Unit iptables.service failed to load: No such file or directory.

原创 解決:the root element of the document is not .錯誤

  1依次打開eclispe-->window-->preferences-->xml catalog-->   location:爲duboo.xsd 存放路徑(見附件) key值爲:http://code.alibabatech.

原创 libmhash.so.2: cannot open shared object file: No such file or directory

wdcp安裝過程中 沒有發現什麼錯誤!但是運行不正常(比如設置默認首頁無效),或者在安裝wdcp報以下錯誤: httpd: Syntax error on line 54 of /www/wdlinux/httpd-2.2.22/con

原创 mybatis異常:Could not find result map java.util.HashMap 問題分析及解決

錯誤描述: Caused by: java.lang.IllegalArgumentException: Result Maps collection does not contain value for java.util.Hash

原创 cannot be cast to org.springframework.web.method.HandlerMethod 解決方法

用annotation做權限控制的時候,在攔截器裏轉時     @Override       public boolean preHandle(HttpServletRequest request,               Htt

原创 Windows Server 2008遠程桌面端口更改方法

Windows Server 2008遠程桌面端口更改方法   win2008遠程桌面端口默認是用的是3389端口,但是由於安全考慮,經常我們安裝好系統後一般都會考慮把原來的3389端口更改爲另外的端口。本文以改爲端口爲25608商品

原创 JSTL: empty 可以減少很多繁冗的判空

 ${empty student.name }Empty是判空爲空返回的真不爲空返回的是假 ${(empty student.name)? '空' : '非空'} <c:if test="${! empty obj}">${key}</

原创 安裝 Application Request Routing

 1先關閉相關服務:      net stop was /y      net stop wmsvc /y 2運行下載下來的 ARRv2_setup_x86.EXE  3.安裝完後啓動服務     net start was    

原创 如何在Windows2008 Server服務器上開啓Ping或者禁PING

方法1:命令行模式進入服務器後 點擊 開始——運行 輸入命令:netsh firewall set icmpsetting 8這樣就可以在外部ping到服務器了 非常簡單實用!同樣道理,如果想禁止Ping,那運行如下命令即可實現:nets

原创 用IIS配置反向代理

http://blog.csdn.net/g2321514568/article/details/12406755   目標服務器:targetServer 配置反向代理的服務器:reveseProxServer 1、確定最終訪問的網址

原创 Eclipse降低J2EE版本號

org.eclipse.wst.common.project.facet.core.xml <?xml version="1.0" encoding="UTF-8"?> <faceted-project>   <runtime name

原创 easyUI Slider

http://blog.csdn.net/yanghongchang_/article/details/7823306 @author YHC 覆蓋默認值 $.fn.slider.defaults.  slider 允許用戶從一個有效的

原创 Eclipse安裝Freemarker插件[轉]

轉自:http://blog.csdn.net/yinzhifeng666/article/details/8777378 方法一:手動安裝 手動安裝沒有成功 步驟: 1. 下載freemarker-ide : http://sourc