随笔分类 -  Eclipse java

一个 struts2+ hibernate3+spring 整合的示例
摘要:网上的代码,我测试过了能成功运行 http://www.cnblogs.com/Files/gwazy/bookAdmin-code.rar 阅读全文

posted @ 2008-06-20 13:39 gwazy 阅读(512) 评论(3) 推荐(0)

spring2.5 配置 所需jar
摘要:applicationContext.xml com.mysql.jdbc.Driver jdbc:mysql://localhost:330... 阅读全文

posted @ 2008-06-17 13:26 gwazy 阅读(2539) 评论(0) 推荐(0)

The validator XML Schema Validator is a delegating validator but no delegate can found for it 解决
摘要:莫名其妙出了个这错误 把 web.xml 中换成 1 5 听说是个bug 阅读全文

posted @ 2008-06-16 18:38 gwazy 阅读(585) 评论(0) 推荐(0)

struts2 Action 中使用实体对象
摘要:html Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> Code highlighting produced by Actipro CodeHighlighter (freewar... 阅读全文

posted @ 2008-06-06 17:13 gwazy 阅读(935) 评论(0) 推荐(0)

struts2 从 action 到 jsp 页面
摘要:xml 中设置使用 struts.xml Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> /manage/UserManage.jsp /manage/adduser.jsp 阅读全文

posted @ 2008-06-06 17:02 gwazy 阅读(461) 评论(0) 推荐(0)

netbean ide 字体大小设置
摘要:NetBeans 6.0.1\etc\netbeans.conf 更改 netbeans_default_options="-J-Xms32m -J-Xmx256m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true --fontsize 12" 阅读全文

posted @ 2008-05-27 10:14 gwazy 阅读(618) 评论(0) 推荐(0)

struts 2 自定义模板
摘要:struts2 中有些标签并不好用,默认加了好多 tr,td 的感觉很不好, label.ftl errorFor="${parameters.id}" class="errorMessage"> ${error?html} id="wwlbl_$... 阅读全文

posted @ 2008-05-16 09:52 gwazy 阅读(1214) 评论(0) 推荐(0)

eclipse 移除错误信息
摘要: 阅读全文

posted @ 2008-05-10 17:28 gwazy 阅读(314) 评论(0) 推荐(0)

struts tomcat 中文乱码解决
摘要:再也不用 strRet = new String(src.getBytes("ISO_8859_1"),"UTF-8"); 配置下边 web.xml Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> S... 阅读全文

posted @ 2008-05-05 10:54 gwazy 阅读(630) 评论(0) 推荐(0)

第一个Hibernate 程序终于测试通过了
摘要:java 好多地方都要自己配置,习惯了 vs 的东西,真是不适应。 CurUser.java package test; public class CurUser { private String Curid; private String Name; public String getCurid() { retu... 阅读全文

posted @ 2007-11-20 11:36 gwazy 阅读(407) 评论(0) 推荐(0)

jsp+mysql 数据库操作
摘要:package test; import java.sql.*; public class Conn { static String data ="jdbc:mysql://localhost/first"; static java.sql.Statement st; public static void databaseconnect() { //函数用于 连接数据... 阅读全文

posted @ 2007-11-08 18:00 gwazy 阅读(719) 评论(0) 推荐(0)

Project facet Java version 6.0 is not supported 解决办法
摘要:最近在学java,比起.net 还有好的不适应的地方 我的机子 jdk1.5.0_06+eclipse3.2 +com.sysdeo.eclipse.tomcat_3.1.0 找了好多资料也没个解决办法。 折腾了好久终于好了。。 进入工作空间以后(启动后)先 设置完毕后,新建web 项目,一切正常。。。 阅读全文

posted @ 2007-11-08 10:29 gwazy 阅读(4789) 评论(1) 推荐(0)

导航