Ubuntu ftp 連線問題 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 10月 24, 2007 1.檢查 firewall 設定, ftp 有兩個 port 21,202.檢查 /var/log/proftpd.log 相關log3.印象中 root 是不能用 ftp 登入的. 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 留言
Eclipse WTP 安裝Tip 12月 26, 2007 安裝完所有的plug-in之後 要先將configuration目錄移到別處 隨後開啟Eclipse會出現錯誤訊息,但他會幫你製作出新的configuration目錄 複製原有的config.ini (在剛剛移到別處的configuration目錄裡面)到新的configuration目錄裡面 再重新開啟Eclipse,所有的plug-in都出現了! 閱讀完整內容
Srping MultiactionController 使用綁定的設定 2月 03, 2008 跟simpleform controller一樣,先在xml中設定好validator 只要validator的support有支援到在multiaction controller中的command的時候 就會採用該valiodator 接下來新增一個MyMultiacitonController 擴展原本的multiaction controller public class MyMultiactionController extends MultiActionController { //用來儲存binding error的model private Map errorModel = null; //以下是修改原始程式碼的結果 @Override protected void bind(HttpServletRequest request, Object command) throws Exception { logger.debug("Binding request parameters onto MultiActionController command"); ServletRequestDataBinder binder = createBinder(request, command); binder.bind(request); if (getValidators() != null) { for (int i = 0; i if (getValidators()[i].supports(command.getClass())) { ValidationUtils.invokeValidator(getValidators()[i], command, binder.getBindingResult()); } } } if (binder.getBindingResult().hasErrors()) { setErrorModel(binder.getBindingResult().getModel()); } } public Map getErrorModel() { Map map = this.errorModel; this.errorModel = n... 閱讀完整內容
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Only RGBA or White color spaces are supported in this situation.' 9月 19, 2015 在幫一支app升級iOS 9以及Facebook SDK 4.6的時候 出現了錯誤訊息 其中包含了 *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Only RGBA or White color spaces are supported in this situation.' 發現原來是 [[ UINavigationBar appearance ] setBarTintColor :[ UIColor colorWithPatternImage :[ UIImage imageNamed : @"bar_background.png" ]]]; 這行的原因 閱讀完整內容
留言