摘要: 使用 JSEclipse,JavaScript 程序員現在有了自己的 Eclipse 插件,該插件將提供許多重要功能來輔助開發 JavaScript 應用程序。像 Eclipse 多年來為 Java? 語言和其他語言提供了易用性一樣,JSEclipse 為 JavaScript 開發人員提供了同樣的優點。
閱讀全文
摘要: 在Eclipse中遇到The type XXX cannot be resolved. It is indirectly referenced from required .class files錯誤.....,查找的解決辦法如下:
閱讀全文
摘要: Displaytag1.1支持在外部實現大數據量分頁。主要有兩種方式實現:
Displaytag 1.1 offers two alternative ways for working with partial lists:
the first one uses the valuelist pattern, and requires that the object that you give to displaytag implements the org.displaytag.pagination.PaginatedList interface. You can pass this object to displaytag as an usual list, and it will extract paging and sorting information from it. This way is more recommended if you have to build your backend layer and you can easily
閱讀全文
摘要: Apache的Jakata項目的POI子項目,目標是處理ole2對象。POI可以到 http://www.apache.org/dyn/closer.cgi/jakarta/poi/下載。編譯好的jar主要有這樣4個:poi包,poi Browser包,poi hdf包,poi hssf例程包。實際運行時,需要有poi包就可以了。
閱讀全文
摘要: 使用過開源緩存包(如:EHCache)都知道,緩存策略中主要分為FIFO,LRU,LFU等幾種。而Jakarta Commons中提供的 org.apache.commons.collections.map.LRUMap 可用來保存最近使用的幾條記錄,提供了LRU(Least Recently Used)緩存策略的實現。
閱讀全文
摘要: org.apache.commons.lang.StringUtils中提供許多有用的字符串操作方法,了解這些方法,我們可以避免許多不必要的重復工作。下面介紹其中比較有用的幾個方法:
閱讀全文