上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
一、web应用的classpath简介 classpath路径,即WEB-INF下面的classes目录,所有src目录下面的java、xml、properties等文件编译后都会在此。 Struts 2框架有两个核心配置文件:struts.xml文件主要负责管理应用中的Action映射,以及Res Read More
posted @ 2018-06-21 10:14 happy_xiaoxiao Views(850) Comments(0) Diggs(0) Edit
测试Struts2验证框架-->XML验证 启动tomcat后网页登录失败 Employee-validation.xml文件头如下: <!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0.2//EN" "ht Read More
posted @ 2018-06-20 13:08 happy_xiaoxiao Views(192) Comments(0) Diggs(0) Edit
1.文件写入 2.读取文件内容: 3.删除文件(File类的delete()方法) 4.将文件内容复制取另一个文件 5.向文件中追加数据 6.创建临时文件 7.修改文件最后的修改日期 8.获取文件大小 ,使用File类的file.exists()和file.length()方法来获取文件大小 9.文 Read More
posted @ 2018-06-07 16:43 happy_xiaoxiao Views(158) Comments(0) Diggs(0) Edit
1.打印菱形 2.九九乘法表 3.打印三角形 4.打印倒立的三角形 5.打印菱形 6.打印矩形 Read More
posted @ 2018-06-04 17:15 happy_xiaoxiao Views(161) Comments(0) Diggs(0) Edit
摘自:http://www.runoob.com/java/java-examples.html 1.数组排序及元素查找 以下实例演示了如何使用sort()方法对Java数组进行排序,及如何使用 binarySearch() 方法来查找数组中的元素, 这边我们定义了 printArray() 方法来 Read More
posted @ 2018-05-31 13:16 happy_xiaoxiao Views(140) Comments(0) Diggs(0) Edit
摘自 :http://www.runoob.com/java/java-serialization.html Java序列化 Java提供了一种对象序列化的机制,该机制中,一个对象可以被表示为一个字节序列,该字节序列包括该对象的数据、有关对象的类型的信息和存储在对象中数据的类型。 将序列化对象写入文 Read More
posted @ 2018-05-28 16:36 happy_xiaoxiao Views(128) Comments(0) Diggs(0) Edit
摘自:http://www.runoob.com/java/java-collections.html Java 集合框架 早在Java2之前,java 就提供了特设类。比如:Dictionary,Vector,Stack,和Properties这些类用来存储和操作对象组。 虽然这些类都非常有用,但 Read More
posted @ 2018-05-28 14:24 happy_xiaoxiao Views(295) Comments(0) Diggs(0) Edit
摘自:http://www.runoob.com/java/java-data-structures.html 了解即可 Java 数据结构 Java 工具包提供了强大的数据结构。在Java中的数据结构主要包括以下几种接口和类: 枚举(Enumeration) 位集合(BitSet) 向量 (Vec Read More
posted @ 2018-05-26 10:14 happy_xiaoxiao Views(185) Comments(0) Diggs(0) Edit
摘自:http://www.runoob.com/java/java-multithreading.html Java 多线程编程 Java 给多线程编程提供了内置的支持。一条线程指的是进程中的一条执行路径,一个进程可以并发多个线程,每个线程并行 执行不同的任务。 多线程是多任务的一种特别的形式,但 Read More
posted @ 2018-05-24 15:19 happy_xiaoxiao Views(399) Comments(0) Diggs(0) Edit
摘自 :http://www.runoob.com/java/java-url-processing.html Java URL 处理 URL(Uniform Resource Locator)中文名为统一资源定位符,有时也被俗称为网页地址。表示为互联网上的资源,如网页或者FTP地址。 本章节我们将 Read More
posted @ 2018-05-19 11:53 happy_xiaoxiao Views(159) Comments(0) Diggs(0) Edit
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页