自学是们学问 给自己足够长的时间去学;在充足 “预算” 之下耐心地练;不断找活干,以用代练;然后,最重要的是,一定要尽快尝试着做出属于自己的完整作品,无论大小。只有这样,你才是个值得被交往的人。......
两种常用排序方式"插入法","冒泡" // 插入法 public String sort2(int[] idata) { int temp; for (int i = 0; i < idata.length; i++) { for(int j=i;(j>0) && (idata[j]<idata[j-1]);j--) { temp=idata[
大数据文件上传 public String readFile() throws IOException { File rFile = new File("c:/jdk1.5.0_14.rar"); File wFile = new File("e:/jdk1.5.0_16.rar"); try { FileInputStream iReader = new FileInputStream(rFile); FileOutputSt
spring 元单测试 package jnuit.test;import java.util.List;import org.hibernate.SessionFactory;import org.junit.BeforeClass;import org.junit.Test;import org.springframework.context.ApplicationContext;
JavaScript验证正则表达式大全 JavaScript验证正则表达式大全JavaScript验证正则表达式大全,搜集最全的JavaScript验证正则表达式,开始查看吧,这里的都是正则表达式的例子,具体和函数结合的使用方法,还请查看下篇文章《JavaScript使用正则表达式进行验证》特殊字符过滤正则表达示 function chenckFilter(obj){
struts2 国际化 struts.properties classpath下配置struts.locale = zh_CNstruts.i18n.encoding = UTF-8struts.custom.i18n.resources = message#struts+springstruts.objectFactory=spring message_en_US.propert
hibernate 自动生成表 hibernate.dialect=org.hibernate.dialect.MySQLDialect // 方言 hibernate.hbm2ddl.auto=update // 自动生成表 hibernate.show_sql
oracle数据库时常用的操作命令整理 登录oracle数据库时常用的操作命令整理 1、su – oracle 不是必需,适合于没有DBA密码时使用,可以不用密码来进入sqlplus界面。2、sqlplus /nolog 或sqlplus system/manager 或./sqlplus system/manager@ora9i;3、SQL>connect / as sysdba ;(as syso
jsp 标签taglib不起作用的问题 JSTL 不能正确输出的问题由于Jsp2.0向后兼容的特性, 当遇到使用Jsp 1.2(Servlet v2.3)的网站时会默认的禁用JSP2.0 EL,所以导致c:out不能正确输出。(这里注意Jsp 1.2禁用JSP2.0的EL,而是去使用JSTL 1.0 taglib去解析EL。所以使用JSP 1.2+JSTL 1.0不会出问题,而使用了JSP 1.2+JSTL 1.1就会导致c
xml,jsp,dtd,xsd 提示信息 进入MyEclipse6.X下 修改:eclipse.ini 文件 -Duser.language=en 改成 -Duser.language=zh 弹出提示:Ctrl+"/" dtd 命名空间的提示信息 window-->Preference-->xml-->XML Catalog-->add Location :sql-m