摘要: public class Test8 { public static int getNum() { int num = 555667; boolean b = true; int temp = 1; int he = 0; while(b){ temp++; he = num*temp; Strin 阅读全文
posted @ 2016-10-14 18:28 F领主 阅读(799) 评论(0) 推荐(0) 编辑
摘要: /************************************************/ List<Object> tempList = lists.subList(2, lists.size()); 截取lists.get[2]到最后 作为新的list tempList 但是,temp 阅读全文
posted @ 2016-10-14 15:23 F领主 阅读(3734) 评论(0) 推荐(0) 编辑
摘要: 调试程序时,有时需要同时使用多个Console,如一个Console运行Server,一个Console运行Client。而一般情况下Eclipse只有一个Console,这时就需要增加一个Console。 点击Open Console(带加号的窗口),选择"5 New Console View", 阅读全文
posted @ 2016-10-10 18:10 F领主 阅读(3926) 评论(0) 推荐(0) 编辑
摘要: 1.var form = document.myform; 2.var funcnum = $("#funcnum").val(); form.action="<%=path%>/autoSettle/autoSettleAction!searchDifferentTab.action"; form 阅读全文
posted @ 2016-10-10 16:49 F领主 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1.<fmt:formatNumber type="number" maxFractionDigits="2" value="${requestScope.settleingMoney}"/> jsp 2.String.format("%.2f", totalOkMoney) java 阅读全文
posted @ 2016-10-08 16:05 F领主 阅读(154) 评论(0) 推荐(0) 编辑
摘要: ExecutorService exec = null; List<IbeFlightInfo> ibeFlightInfo = new ArrayList<IbeFlightInfo>(); TransferVO[] b2gFlights = new TransferVO[]{}; try { e 阅读全文
posted @ 2016-09-29 18:38 F领主 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 1 class Thread1 extends Thread Thread1 mTh1=new Thread1("A"); Thread1 mTh2=new Thread1("B"); mTh1.start(); mTh2.start(); 2 class Thread2 implements Ru 阅读全文
posted @ 2016-09-29 18:37 F领主 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1 @Controller 2 @Service 3 @RequestMapping 4 @ResponseBody 5 @Autowired 6 @Transactional 7 @Scheduled 8 @repository 阅读全文
posted @ 2016-09-28 16:54 F领主 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 1.@Table(tableName = "orderlogs", seqName = "orderlogs_seq") //表关联 2.CREATE SEQUENCE orderlogs_seq //建序列 3.select orderlogs_seq.nextval from dual; //查 阅读全文
posted @ 2016-09-28 15:36 F领主 阅读(998) 评论(0) 推荐(0) 编辑
摘要: 2016/09/21 eclipse选中某个字段无法高亮其他字段解决办法: window >> preference >> java >> Editor >> Mark Occurrences 勾选Mark occurrences of the selected element in the cur 阅读全文
posted @ 2016-09-20 13:30 F领主 阅读(2480) 评论(0) 推荐(0) 编辑