摘要:java保留两位小数问题:方式一:四舍五入double f = 111231.5585;BigDecimal b = new BigDecimal(f);double f1 = b.setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue();保留两位小数---------------------------------------------------------------方式二:java.text.DecimalFormat df =new java.text.DecimalFormat("#.00");df.format(
阅读全文
摘要:1 2 3 java:comp/env/jdbc/huixincrm 4 5 6 7 8 9 10 11 12 com.keertech.base.bean13 com.keertech.web.bean14 com.keertech.system.bean15 16 17 18 ...
阅读全文
摘要:Instructions and HTML sample code1Downloadthe all-in-one zip.2Upload the .swf player file you want to use on your website.3Copy-paste and configure the HTML code with the right MP3 filepath.1 插件下载地址http://www.alsacreations.fr/dewplayer-en.html
阅读全文
摘要:1 {layout:'column',anchor:'97%',items:[ 2 {columnWidth:.5,layout:'form',border:false,items:[{ 3 xtype: 'radiogrou...
阅读全文
摘要:1.首先下载SVN包:site -1.8.7http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=22402.解压SVN包,然后找到其中的两个文件夹:features 和 plugins3.随意建一个文件夹(最好容易管理点的,我的是D:\Java\Plugin\SVN),然后把第二步的解压好的features 和 plugins放到这个文件夹下4.找到myeclipse的安装目录,下面有一个configuration\org.eclipse.equinox.simpleconfigurator\bundles.inf
阅读全文
摘要:默认遇到throw new RuntimeException("...");会回滚需要捕获的throw new Exception("...");不会回滚// 指定回滚@Transactional(rollbackFor=Exception.class)public void methodName() {// 不会回滚throw new Exception("...");}//指定不回滚@Transactional(noRollbackFor=Exception.class)public ItimDaoImpl getItemDaoI
阅读全文