`
100Air
  • 浏览: 119619 次
  • 性别: Icon_minigender_1
  • 来自: 海南
社区版块
存档分类
最新评论
文章列表
......................... 四、测试Tomcat    (1)启动Tomcat服务器,在"开始"  ->  "程序"  ->  "Apache  Tomcat  4.1"中点"Start  Tomcat"  (出现一个"命令提示符" 窗口,不要关闭它),Tomcat服务器就开始运行了。    (2)在IE中输入      http://localhost:8080/    后,看到Tomcat的首页(上面有只小猫)表示安装成功。    (3)关闭Tomc ...
说明:复制表(只复制结构,源表名:a 新表名:b) select * into b from a where 1<>1 说明:拷贝表(拷贝数据,源表名:a 目标表名:b) insert into b(a, b, c) select d,e,f from b; 说明:显示文章、提交人和最后回复时间 select a.title,a.username,b.adddate from table a,(select max(adddate) adddate from table where table ...
开发采用spring+ibatis,数据库用oracle,数据量有几千万以上,而且还要不断的增多,用了三层子查询实现分页控制 下面都只是举的例子 < sqlMap  namespace ="Y_wjlx" >    2  3          < resultMap  class ="com.ctgusec.model.Y_wjlx"  id ="y_wjlx" >    4                  < result  property ="wjbh"  colum ...
1. 使用forward-only的resultset,rs.next()移动记录集就可以了   选从50-100行   int CurrentRow = 1;   int MinRow = 50;   int MaxRow = 100;   while(rs.next())   {   if (CurrentRow   {   CurrentRow++;   continue;   }   }   2.使用可滚 ...
使用Spring、Hibernate、Struts的一些错误总结
程序在服务运行了两天就出现报错: 006-10-09 09:00:41 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception org.hibernate.exception.JDBCConnectionException: could not execute query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:72) at org.hibernate.exception.JDBCEx ...
以下是引用: http://blog.csdn.net/themaster/archive/2006/07/30/1001096.aspx 1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键<table border oncontextmenu=return(false)><td>no</table> 可用于 Table 2. <body onselectstart="return false"> 取消选取、防止复制3. onpaste=&q ...
      在为你的第一个Struts应用程序建立了部署描述符后(根据该系列第一部分所讲述的内容),你可能想知道ActionServlet实例是如何控制程序流程并采取相应的action的。这是个很好的问题,因为在一个非Struts Model 2应用程序中 ...
Global site tag (gtag.js) - Google Analytics