03 2012 档案

摘要:project结构一、LoginForm.java public class LoginForm { private String username; private String password; public void setUsername(String username) { this.username = username; } public void setPassword(String password) { this.password = password; } public String getUsername() { return usernam... 阅读全文
posted @ 2012-03-07 15:01 IT一菜鸟 阅读(292) 评论(0) 推荐(0) 编辑
摘要://驱动程序名 String driver =("com.mysql.jdbc.Driver");// "com.MySQL.jdbc.Driver"; //URL指向要访问的数据库名scutcs String url = "jdbc:MySQL://127.0.0.1:3306/apk"; //MySQL配置时的用户名 String user = "root"; //MySQL配置时的密码 String password = "603809"; int version; boolean bNe 阅读全文
posted @ 2012-03-07 14:46 IT一菜鸟 阅读(170) 评论(0) 推荐(0) 编辑