摘要: 转自:http://apps.hi.baidu.com/share/detail/222391971.官方介绍的地址:http://struts.apache.org/2.1.6/docs/convention-plugin.html2.struts.xml文件配置只挑选几个重要的常量说明:(1) <constant name="struts.locale" value="zh_CN"/> <constant name="struts.i18n.encoding" value="UTF-8"/&g 阅读全文
posted @ 2011-09-14 15:41 爱上飞飞的面码 阅读(5393) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/hzj-/articles/1689836.html<context-param>的作用:web.xml的配置中<context-param>配置作用1. 启动一个WEB项目的时候,容器(如:Tomcat)会去读它的配置文件web.xml.读两个节点: <listener></listener> 和 <context-param></context-param>2.紧接着,容器创建一个ServletContext(上下文),这个WEB项目所有部分都将共享这个上下文.3.容 阅读全文
posted @ 2011-09-14 14:57 爱上飞飞的面码 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 这个传说中的数据不一致,其实可能是空指针。 阅读全文
posted @ 2011-09-14 10:37 爱上飞飞的面码 阅读(7845) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.itpub.net/thread-253222-1-1.html1. 删掉重建,重建时指定start with 202. 做一个循环, 循环执行select nextval 19次3. Alter sequence mysq increment by 19;select mysq.nextval from dual;Alter sequence mysq increment by 1; 阅读全文
posted @ 2011-09-14 10:05 爱上飞飞的面码 阅读(466) 评论(0) 推荐(0) 编辑