`
eryuanz
  • 浏览: 11915 次
  • 性别: Icon_minigender_2
  • 来自: 北京
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
  • eryuanz: 由于不能在jsfunit中启动jetty导致的错误,jsfun ...
    JSFUnit
文章列表
修改nfile值 nfile值是系统能同时访问,执行和修改的文件的个数.1,查看:glance中输入H,再输入t. 2,修改:进入sam中选择kernel configuration ,选择configuration parameters,选择nfile项.---在actions中选择modify configurable parameter...在specify new formula/value前打*号在后面formula/value后输入希望的nfile值.一路确认.重启.检查是否成功. *注:nfile的缺省公式为:((16*(Npro ...
 让用IE打开的网页的图片飞起来 收藏  当你在IE地址栏输入这段文字后...所有图片都会乱飞...     复制下面内容然后在地址栏粘贴,你会看到所有的图片都飞起来了。超漂亮!     javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='ab ...
修改/home/xxxx/php5/lib/php.ini [Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone = 'Asia/Shanghai'
一、安装程序 apache:httpd-2.2.17.tar mysql:MySQL-client-5.5.9-1.rhel5.x86_64.rpm              MySQL-devel-5.5.9-1.rhel5.x86_64.rpm (usr/include/mysql/mysql.h)             MySQL-server-5.5.9-1.rhel5.x86_64.rpm             MySQL-shared-5.5.9-1.rhel5.x86_64.rpm(/usr/lib64/libmysqlclient.so.16.0.0) php:p ...
使用JSFUnit进行测试。 页面报错: 500 Internal Server Error for http://localhost:8083/testjsf/pages/proxy/listProxy.faces   com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Internal Server Error for http://localhost:8083/testjsf/pages/proxy/listProxy.facesat com.gargoylesoftware.htmlu ...
JSFUnit是基于Cactus和junit的,现在Cactus支持内部启动Jetty5.1.9,那么JSFUnit支持内部启动Jetty么?   答案是否定的。。。 ------------------------------------------------------------------------------------------------------------------------------------- JSFUnit uses Cactus 1.7.1.  I've tried to integrate with Cactus 1.8 a few tim ...
java.lang.IllegalStateException: Can not find HttpSession.  Make sure JSFUnitFilter has run and your test extends org.apache.cactus.ServletTestCase. at org.jboss.jsfunit.framework.WebConversationFactory.makeWebClient(WebConversationFactory.java:136) at org.jboss.jsfunit.framework.WebClientSpec ...
环境配置:jdk1.6,eclipse 3.4.2,jetty插件(http://run-jetty-run.googlecode.com/svn/trunk/updatesite/) ‍注:jetty(http://jettylauncher.sourceforge.net/updates)不能使用,可能是和eclipse3.4.2不兼容吧。我的学习过程1.创建一个Dynamic Web Project,名称为“cactusTest”;设置java build path为“cactusTest/WebContent/WEB-INF/classes”。‍2.创建index.jsp,welcom ...
kill `netstat -lnp | grep 4444 | awk '{print $7}' | awk '{print substr($1,1,5)}'` 其中4444为端口号 获取进程ID的方法: lsof -i :4444
Global site tag (gtag.js) - Google Analytics