
Java编程
文章平均质量分 50
iteye_3482
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Hibernate+Struts2实现简单登录注册
<session-factory> <property name="connection.username">root</property> <property name="connection.url"> jdbc:mysql://localhost:3306/test </property> &am原创 2011-05-22 23:58:49 · 1151 阅读 · 1 评论 -
获取MyEclipse注册码
import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;public class Demo{ private static final String LL = "Decompiling this copyrighted software is ...原创 2011-09-24 15:00:16 · 85 阅读 · 0 评论 -
Spring3.1的IoC实例
Spring3.1的IoC实例原创 2011-10-01 15:13:00 · 102 阅读 · 0 评论 -
java字符串数组去除重复
public static void main(String[] args) { String[] temp = new String[]{"aaa","bbb","ccc","aaa","ccc"}; List<String> list = new LinkedList<String>(); for原创 2013-06-01 11:18:57 · 770 阅读 · 0 评论 -
JAVA程序防止SQL注入的方法
第一种采用预编译语句集,它内置了处理SQL注入的能力,只要使用它的setString方法传值即可:String sql= "select * from users where username=? and password=?;PreparedStatement preState = conn.prepareStatement(sql);preState.setString(1,...原创 2013-01-18 22:27:31 · 353 阅读 · 0 评论