Python+Django+SAE系列教程16-----cookie&session...
分类:
编程语言 时间:
2014-06-09 23:36:14
阅读次数:
289
提及Java Web工程中web.xml文件无人不知,无人不识,呵呵呵:系统首页、servlet、filter、listener和设置session过期时限,张口就来,可是你见过该文件中的error-page标签吗?...
分类:
编程语言 时间:
2014-06-08 17:40:36
阅读次数:
251
测试环境均为本地,测试软件为:nginx-1.6.0,apache-tomcat-7.0.42-1,apache-tomcat-7.0.42-2,apache-tomcat-7.0.42-3利用nginx做负载均衡,三台tomcat做WEB具体业务处理。nginx配置nginx.conf:#Nginx所用用户和组,window下不指定
#user niumd niumd;
#user...
分类:
其他好文 时间:
2014-06-08 17:35:57
阅读次数:
199
升级jboss版本到jjboss-eap-6.2之后,启动项目时CXF出现异常。
在jboss-as-7.1.1.Final、apache-tomcat-7.0.37以及jboss-eap-6.1 下运行项目都正常,唯独jboss-eap-6.2下出问题。...
分类:
其他好文 时间:
2014-06-08 17:10:03
阅读次数:
704
1.首先需要在linux系统tomcat/bin目录下配置catalina.sh这个文件中增加:
CATALINA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
参数说明:
-Xdebug : 启用调试模式
-X...
分类:
Web程序 时间:
2014-06-08 15:09:35
阅读次数:
290
default character encoding of the request or
response body: If a character encoding is not specified, the Servlet
specification requires that an enco....
分类:
其他好文 时间:
2014-06-08 00:19:22
阅读次数:
270
linux下编译安装nginx,从nginx官网下载nginx原代码,解压到某个目录,执行如下命令 # ./configure
--prefix=/usr/local/nginx配置nginx编译生成的目录,nginx的shell脚本将存储在/user/local/nginx/sbin目录,配置文件...
分类:
系统相关 时间:
2014-06-07 23:52:35
阅读次数:
488
php不打日志好久了,每次都nginx返回500
都依靠检测代码来发现问题,很累。网上也找了很多关注php打错误日志的。都没效果。偶然通过phpinfo()
发现这个。error_log/var/log/php-fpm/www-error.log/var/log/php-fpm/www-error....
分类:
Web程序 时间:
2014-06-07 22:58:57
阅读次数:
434
1.MD5加密string md5Str =
System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(str,"MD5");2.一般处理程序使用Session需要该类集成System.Web.Session...
分类:
其他好文 时间:
2014-06-07 22:39:55
阅读次数:
388
1.错误:在eclipse中使用run->run on
server的时候,选择tomcat6会报错误:The server does not support version 3.0 of the J2EE Web
module specification2.原因:Tomcat 6.0最多支持Ser...
分类:
Web程序 时间:
2014-06-07 22:16:41
阅读次数:
339