- 博客(11)
- 收藏
- 关注
转载 有关jsp中的response.sendRedirect()的问题
求助:有关jsp中的response.sendRedirect()的问题???我在jsp中使用了下面这句: response.sendRedirect("test.jsp?name=姓名&pwd=1111") ; 但,在test.jsp中获取参数时,pwd可以正常获得,而name 获得的是乱码。 然后我在这之前加了: response.setContentType("text/html;c
2006-08-17 14:21:00 1040
转载 SQLSERVER海量数据库的查询优化及分页算法
探讨如何在有着1000万条数据的MS SQL SERVER数据库中实现快速的数据提取和数据分页。以下代码说明了我们实例中数据库的“红头文件”一表的部分数据结构:CREATE TABLE [dbo].[TGongwen] ( --TGongwen是红头文件表名 [Gid] [int] IDENTITY (1, 1) NOT NULL ,--本表的id号,也是主键 [ti
2006-08-17 00:29:00 636
原创 与的区别
近日做一项目要用到JSP动态包含JSP,本想肯定很简单,但不想这么复杂,而且目前还没有求到好的答案,问题如下:----------------------------------------#文件:one.jspString var1=China;%>----------------------------------------#文件 two.jspString var1=America;Str
2006-08-14 18:03:00 637
原创 与的区别
近日做一项目要用到JSP动态包含JSP,本想肯定很简单,但不想这么复杂,而且目前还没有求到好的答案,问题如下:----------------------------------------#文件:one.jspString var1=China;%>----------------------------------------#文件 two.jspString var1=America;Str
2006-08-14 18:00:00 583
转载 Locking a Servlet to a Server
在servlet上设置权限, 例如beta版本就设置它只能运行在客户的特定服务器上面, 不让它能够到处运行There are many ways to put this server information to productive use. Lets assume youve written a servlet and you dont want it running just
2006-08-14 16:21:00 747
转载 Writing to a Temporary File
Writing to a Temporary FileThe javax.servlet.context.tempdir attribute maps to a temporary directory where short-lived working files can be stored. Each context receives a different temporary dir
2006-08-14 16:15:00 741
转载 查询数据库的实例
环境:Eclipse3.2 rc6Tomcat 5.5TomcatPluginV31MySql5.0一,新建一个tomcat项目.项目名称:DataBase二,新建一个index.jsp文件到项目根目录下. pageEncoding="gb2312"%>数据查询 名称: &nb
2006-08-14 15:59:00 756
转载 Servlet参数持久化时可能遇到的多线程问题以及解决之道
Up until now, the counter examples have demonstrated how servlet state persists between accesses. This solves only part of the problem. Every time the server is shut down or the servlet is reloaded
2006-08-14 14:29:00 751
原创 parentNode的问题
00 01 10 11 在onclick事件中写document.write(this.name);会显示td说明this代表这个对象 如果写this.parentNode.name显示tr说明this.parentNode代表对象。 我想取得对象的引用而this.parentNode.parentNode确不是。 而this.parentNode.parentNode.par
2006-08-07 16:14:00 1486
原创 javascript改变样式
javascript改变样式eg.1function changStyle1(){ document.getElementById("aaa").className="a1";} eg.2document.write(" ");
2006-08-07 14:47:00 1759
原创 javascript改变样式
javascript改变样式eg.1function changStyle1(){ document.getElementById("aaa").className="a1";} eg.2document.write(" ");
2006-08-07 14:45:00 873
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人