摘要:
在线安装:sudo yum install glibc.i686 glibc-2.7.tar.gz :http://blog.163.com/qiukl1987@126/blog/static/98095849201472011149535/ 安装 http://zhidao.baidu.com/l 阅读全文
摘要:
1.分层 2.添加srtuts 的jar + hibernate的jar 3.添加struts.xml hibernate.cfg.xml 修改web.xml文件添加过滤器 4.通用dao建立使用 比如baseDao设置了基础方式的dao操作 delete update query insert等等 阅读全文
摘要:
1.导入jar 2.导入struts.xml文件 3.web.xml添加过滤器 4.如果struts.xml不能自动提示 http://struts.apache.org/dtds/struts-2.0.dtd 主要是因为dtd文件不能找到,如果联网自动回下载,如果没有联网可以手动添加 例如:视频中 阅读全文
摘要:
默认jsp传送的数据都是String类型的,所以比如Action方法中使用一个Date,不能直接转化,所以需要一个类型转换器 1.局部类型转换器 (1)创建一个类型传唤器 (2)jsp界面 time (3)Action类中time Date类型的 (4)添加action类中和转换器对应的文件 Tes 阅读全文
摘要:
三种方式: 1.直接在类中校验 jsp界面添加: <s:fielderror cssStyle="color:red"/> <s:actionerror cssStyle="color:red"/> Action类中: validate+Action方法名称首字母大写 例如: addTask(){ 阅读全文
摘要:
1.PropertiesConfiguration 2.直接spring配置文件使用 http://www.cnblogs.com/sj521/p/5368335.html 3.Properties props = new Properties(); 读取使用 未完待续。。。。。。 阅读全文
摘要:
1.网址 http://blog.163.com/wchao226@126/blog/static/69514819201051742718830/ http://thomaslee007.iteye.com/blog/167762 2.例子 spring配置文件 xxx.properties ta 阅读全文
摘要:
http://blog.csdn.net/jiben071/article/details/6024655 阅读全文
摘要:
四种方式 private ServletRequest request; private ServletResponse response; private ServletContext con; 1.拦截器方式 实现 ServletRequestAware ,ServletResponseAwar 阅读全文
摘要:
windows上配置 http://www.cnblogs.com/quanyongan/archive/2013/04/17/3025971.html http://haohaoxuexi.iteye.com/blog/1827778 http://www.cnblogs.com/xdp-gacl 阅读全文