`
xupo
  • 浏览: 216766 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
通常,会话管理是通过服务器将 Session ID 作为一个 cookie 存储在用户的 Web 浏览器中来唯一标识每个用户会话。如果浏览器不支持 cookies,或者将浏览器设置为不接受 cookies,我们可以通过 URL 重写来实现会话管理。    实质上 URL 重写是通过向 URL 连接添加参数,并把 session ID 作为值包含在连接中。然而,为使这生效,你需要为你的 servlet 响应部分的每个连接添加 session ID 。    把 session ID 加到一个连接可以使用一对方法来简化:response.encodeURL() 使 URL 包含 sessio ...
 Internet Explorer 浏览器在同一时刻只能从同一域名下载两个文件。至于原因请见 MSDN Blogs:《Internet Explorer and Connection Limits》,如何解除限制请见微软客户帮助与支持主页:《如何将 Internet Explorer 配置为可以同时进行两个以上的 ...
We are running a standalone application with Spring. We use a MySQL database. The datasource that has been configured is the "com.mchange.v2.c3p0.ComboPooledDataSource" from C3PO At regular interval :   com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0 DEBUG 2011-04-01 10: ...
使用InputStream和OutputStream来获得命令行运行结果和输入内容是首先需要具备的. 然后要解决SSH连接问题. 在OpenSource项目里找到了Ganymed SSH-2 for Java .下载后有例子,但是没有找到有关交互命令的例子.所以自己探索了一下 在网上看有老外讨论用这个如何改密码,基本上的问题都是因为找不到返回的提示 Linux修改密码输入passwd后,首先是输入当前密码,然后是输入两个新密码 如果当前密码输入错误,或者新密码输入不符合系统密码规则要求,会要求重新输入.如果碰到这种情况,程序很容易进入一个不太好控制的循环. 可能一般人都认为输入命令 ...
JDK安装配置  1、下载jdk,本例使用jdk-6u18-linux-i586.bin下载页面:http://java.sun.com/javase/downloads/index.jsp  2、使jdk-6u18-linux-i586.bin 具有执行权限chmod +x jdk-6u18-linux-i586.bin  3、安装jdk (根据提示一步步安装)./jdk-6u18-linux-i586.bin看到 安装 ...
待补充    两遍对比的文章: http://krow.livejournal.com/497839.html    http://www.mysqlperformanceblog.com/2007/03/13/to-uuid-or-not-to-uuid/   CREATE TABLE Test_Guid(Guid varchar(50) not null,TestId int not null,TestText ntext not null,TestDateTime datetime default getdate(),CONSTRAINT PK_Guid PRIMARY KE ...
 pom.xml中增加: <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-annotations</artifactId> <version>3.2.1.ga</version> </dependency> <dependenc ...
 Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 43,369,020 milliseconds ago. The last packet sent successfully to the server was 43,369,020 milliseconds ago. is longer than the server configured value of 'wait_timeout'. Yo ...
如果写的不对的地方,欢迎各位提意见。可以在数据非常大的时候起到分发表或者库到不同的服务器。减少每个服务器的IO。首先看看有没有federated 引擎。mysql> show engines;+------------+----------+----------------------------------------------------------------+| Engine     | Support  | Comment                                                        |+------------+-------- ...
http://blog.csdn.net/yangyawen/archive/2009/09/19/4570766.aspx   http://xianzhideng.iteye.com/blog/524297   http://www.alisdn.com/wordpress/?p=578
Linux修改IP和DNS 以Red Hat Enterprise Linux 5.2为例1、最常用的给网卡配置ip的命令为 #ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up说明:eth0是第一个网卡,其他依次为eth1,eth*192.168.0.1是给网卡配置的第一个网卡配置的ip地址netmask 255.255.255 ...
http://www.ibm.com/developerworks/cn/java/j-quartz/
jbpm4 :http://sourceforge.net/projects/jbpm/files/   Activiti ACT-111 Make Activiti OSGi compatible  : http://jira.codehaus.org/browse/ACT-111?page=com.atlassian.jira.plugin.system.issuetabpanels%3Achangehistory-tabpanel#issue-tabs    
  chcon -R -h -t httpd_sys_content_t <SVN Root 目录>        CentOs5.5上配置SVN1.6.13 我是采用RPM包来装的(本文是服务器端的安装),apache用的是原来安装系统的时候安装的apache。 1.首先下载所需要的RPM包 1)mod_dav_svn-1.6.13-1.i386.rpm 2)neon-0.28.4-1.i386.rpm 3)neon-devel-0.28.4-1.i386.rpm 4)sqlite-3.5.9-2.i386.rpm 5)sqlite-devel-3 ...
《构建高性能web站点》读书笔记 http://book.group.iteye.com/group/topic/20537  
Global site tag (gtag.js) - Google Analytics