Struts2 contentType属性列表

摘要: Struts2 contentType属性列表 博客分类: Struts 2 Struts2 contentType属性列表 Struts 2 'ez' => 'application/andrew-inset', 'hqx' => 'application/mac-binhex40', 'cpt' 阅读全文
posted @ 2016-10-05 09:36 小瓢蟲 阅读(323) 评论(0) 推荐(0) 编辑

Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds...

摘要: 仰天长啸 仰天长啸 仰天长啸 Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds... 当启动tomcat时候出现 Server Tomcat v6.0 Server at localhost wa 阅读全文
posted @ 2016-09-18 00:51 小瓢蟲 阅读(148) 评论(0) 推荐(0) 编辑

ireport制作小技巧<Reproduce>

摘要: 首先ireport中大小写问题: 1、parameter中如果小写,引用也小写 2、$F{},一般都大写 3、子报表中引用父报表中查询出来的值时,只需要小写即可,即在子报表的parameter中只需要小写 一、iReport 中获取系统当前时间 1、选择TextField类型为 Java.util. 阅读全文
posted @ 2016-06-17 16:03 小瓢蟲 阅读(291) 评论(0) 推荐(0) 编辑

面试中关于Java你所需知道的的一切

摘要: 本篇文章会对面试中常遇到的Java技术点进行全面深入的总结,帮助我们在面试中更加得心应手,不参加面试的同学也能够借此机会梳理一下自己的知识体系,进行查漏补缺。 1. Java中的原始数据类型都有哪些,它们的大小及对应的封装类是什么? (1)boolean boolean数据类型非true即false 阅读全文
posted @ 2016-06-08 08:03 小瓢蟲 阅读(5333) 评论(0) 推荐(1) 编辑

SQL获取本周、本月、本季度的记录的语句

摘要: 前提条件:假设表名为:tableName;时间字段名为:theDate ①查询本周的记录 select * from tableName where DATEPART(wk, theDate) = DATEPART(wk, GETDATE()) and DATEPART(yy, theDate) = 阅读全文
posted @ 2016-06-08 08:01 小瓢蟲 阅读(4507) 评论(0) 推荐(1) 编辑

& && java

摘要: 电路问题总结: 对于:& -- > 不管怎样,都会执行"&"符号左右两边的程序 对于:&& -- > 只有当符号"&&"左边程序为真(true)后,才会执行符号"&&"右边的程序。 下面来说说运算规则: 对于:& -- > 只要左右两边有一个为false,则为false;只有全部都为true的时候, 阅读全文
posted @ 2016-05-09 23:57 小瓢蟲 阅读(166) 评论(0) 推荐(0) 编辑

eclipse自动提示功能没了的解决办法(转载)

摘要: eclipse自动提示功能没了的解决办法 eclipse自动提示功能没了的解决办法 标签: eclipse联想 2012-08-09 14:32 24687人阅读 评论(7) 收藏 举报 标签: eclipse联想 2012-08-09 14:32 24687人阅读 评论(7) 收藏 举报 分类: 阅读全文
posted @ 2016-05-08 16:20 小瓢蟲 阅读(126) 评论(0) 推荐(0) 编辑

keyset获取元素

摘要: public static void main(String[] args){ Map map = new HashMap(); map.put("apple", "新鲜的苹果"); //向列表中添加数据 map.put("computer", "配置优良的计算机"); //向列表中添加数据 map.put("book", "堆积成山的图书"); //向列表中添加数据 map.put("time", new Date()); Set keySet = map.keySet(); for (Object keyName : keySet) { System.out.println("键名:" + keyName); } } 阅读全文
posted @ 2016-03-26 00:23 小瓢蟲 阅读(203) 评论(0) 推荐(0) 编辑

Java实现数组排序

摘要: package com.souvc.hibernate.exp; public class MySort { /** * 方法名:main * 详述:Java实现数组排序 * 开发人员:liuhf * 创建时间:2016-3-22 * @param args * @throws * @since V1.0 ... 阅读全文
posted @ 2016-03-25 21:06 小瓢蟲 阅读(372) 评论(0) 推荐(0) 编辑

实践是检验理论的唯一方法

摘要: 实践检验理论的方法 阅读全文
posted @ 2016-03-21 00:10 小瓢蟲 阅读(185) 评论(0) 推荐(0) 编辑