随笔分类 -  JSP技术文档

联表查询后在Results中获取数据
摘要:联表查询后在Results中获取数据应该写语句中的列名 Results.getString("语句中的列名而不是实际表中的列名"); 阅读全文

posted @ 2009-02-11 18:22 欣路历程 阅读(215) 评论(0) 推荐(0)

Oracle联表查询语句用法
摘要:SELECT * FROM (SELECT R.*, s.StoreName, f.FactoryName, d.DepartmentName, rownum r FROM Resources R, Store s, Factory f, Department d WHERE rownum 0 阅读全文

posted @ 2009-02-11 16:35 欣路历程 阅读(364) 评论(0) 推荐(0)

Oracle联表查询的语句
摘要:Sql代码 select Table1.Item1,Table2.Item2 from Table1,Table2 select 表名.字段名 from 表名,表名 select b.bm from kk.kkyh a,kk.kkbm b where a.dw = ' 北京市振隆科技发展公司' and a.id=b.id 阅读全文

posted @ 2009-02-10 23:13 欣路历程 阅读(754) 评论(0) 推荐(0)

java分页算法
摘要:分享一个分页算法 关键字: j2ee 网页 struts 分页算法 /** * 分页算法 */ package cn.eshore.user.util; public class PageBean { private int currentPage = 1;// 当前页数 public int totalPages = 0;// 总页数 private int pageSiz... 阅读全文

posted @ 2009-02-09 16:20 欣路历程 阅读(16188) 评论(1) 推荐(0)

纯JSP分页代码
摘要:http://www.java3z.com/cwbwebhome/article/article1/1102.html?id=1275 阅读全文

posted @ 2009-02-09 10:21 欣路历程 阅读(389) 评论(0) 推荐(0)

JSP简单的表达式语言
摘要:http://www.oracle.com/technology/global/cn/sample_code/tutorials/jsp20/simpleel.html 阅读全文

posted @ 2009-02-05 17:20 欣路历程 阅读(162) 评论(0) 推荐(0)

JSP动态下拉框控件选项
摘要: 阅读全文

posted @ 2009-02-04 14:25 欣路历程 阅读(420) 评论(0) 推荐(0)

页面target的设置
摘要:_self相同框架 _top整页 _blank新建一个窗口 _parent父窗口 其它的就是自定义了,可以指向已有的窗口名称 阅读全文

posted @ 2009-02-04 14:01 欣路历程 阅读(332) 评论(0) 推荐(0)

Javascript 操作select控件大全(新增、修改、删除、选中、清空、判断存在等)
摘要:1判断select选项中 是否存在Value="paraValue"的Item 2向select选项中 加入一个Item 3从select选项中 删除一个Item 4删除select中选中的项 5修改select选项中 value="paraValue"的text为"paraText" 6设置select中text="paraText"的第一个Item为选中 7设置sele... 阅读全文

posted @ 2009-02-04 11:44 欣路历程 阅读(156) 评论(0) 推荐(0)

转化JSP乱码的函数
摘要:public String getStr(String str){ try{ String temp_p=str; byte[] temp_t=temp_p.getBytes("ISO-8859-1"); String temp=new String(temp_t); return temp; } catch(... 阅读全文

posted @ 2009-02-04 10:05 欣路历程 阅读(140) 评论(0) 推荐(0)

尚学堂jsp教程视频
摘要:http://www.youku.com/playlist_show/id_2832767_ascending_1_page_1.html 阅读全文

posted @ 2009-01-15 11:28 欣路历程 阅读(401) 评论(0) 推荐(0)

一个纯粹在JSP 页面实现对数据增删改的例子
摘要:function btnClick(type){ var fm=document.form1 if(type=='add'){ fm.c.value=1; return t... 阅读全文

posted @ 2009-01-06 15:52 欣路历程 阅读(808) 评论(0) 推荐(0)

JSP计算总页数
摘要:这是求总页数 rowcount 意思: 记录总数. pagesize 意思: 每页显示数. pagecount 意思: 页数 if(rowcount%pagesize==0) { pagecount = rowcount/pagesi... 阅读全文

posted @ 2008-12-31 10:02 欣路历程 阅读(3352) 评论(2) 推荐(0)

导航