浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年2月6日

摘要: 一个Struts2结合Spring测试的方法 SpringWebXMLjunit最近在学习Struts2,进行测试驱动开发,对于struts2与Spring集成的测试,Struts2给出了一个插件struts2-junit-plugin-2.1.8.1.jar,这个插件需要spring-test.jar包的支持,所有需要测试的Action类都继承StrutsSpringTestCase。这个测试要... 阅读全文
posted @ 2012-02-06 23:52 lexus 阅读(377) 评论(0) 推荐(0)

摘要: Struts2与Velocity模板 http://fox-leon.iteye.com/blog/1294165velocityvelocitystruts2标签Struts2与Velocity模板Velocity是一种基于JAVA的模板引擎,开发人员使用简单的模板语言就可以快速开发显示层,它使得显示层与程序代码分离,在早期的Webwork版本中,所有UI标签均使用Velocity模板引擎生成,... 阅读全文
posted @ 2012-02-06 23:46 lexus 阅读(1722) 评论(0) 推荐(0)

摘要: http://kang36897.blog.163.com/blog/static/1704737320107109311267/struts2.1之后的Junit plugin使用2010-08-10 09:50:53|分类: J2EE |标签:struts2.1之后的junitplugin使用 |字号大中小订阅 虽然我不完全是测试驱动开发的信徒,但是我很认可这种做法,可能觉得自己写的代码... 阅读全文
posted @ 2012-02-06 23:39 lexus 阅读(580) 评论(0) 推荐(0)

摘要: ts2+Spring的UnitTest编写(使用StrutsTestCase的子类StrutsSpringTestCase) 博客分类:StrutsSpring单元测试XMLWebStruts 我们都知道struts2有自己的对象工厂即obejectFactory,但是你也可以使用spring来作为对象工厂,继承了spring之后的单元测试要加什么东西呢? 答案是要加入下面的这些包:spri... 阅读全文
posted @ 2012-02-06 23:37 lexus 阅读(629) 评论(0) 推荐(0)

摘要: struts2 action测试用例 http://hezhong002.iteye.com/blog/1108645博客分类:javaSpringjunitfreemarkervelocityServlet这篇文章主要内容是使用junit对struts2的action进行测试。必须的包:spring-core-2.5.6.jarspring-test-2.5.6.jarstruts2-junit... 阅读全文
posted @ 2012-02-06 23:31 lexus 阅读(1103) 评论(0) 推荐(0)

摘要: http://hi.baidu.com/%C9%AE_%CC%C6/blog/item/3560e91af41f92078618bf84.html2011-12-23 20:40package cn.wang.myhome.struts2.action.test;import java.io.UnsupportedEncodingException;import java.util.HashMa... 阅读全文
posted @ 2012-02-06 23:29 lexus 阅读(240) 评论(0) 推荐(0)

摘要: ref:http://lspengjiang.iteye.com/blog/1156836struts2+mybatis+spring框架整合 博客分类:struts2mybatisspringstruts2+spring+mybatisstruts2mybatisspringjsp近期公司要开发新的项目,要用struts2+ibatis+spring框架,所以学习了下,来自己的博客发表下,希望能... 阅读全文
posted @ 2012-02-06 23:25 lexus 阅读(3306) 评论(1) 推荐(1)

摘要: http://forum.springsource.org/showthread.php?120752-Mini-test-with-Spring-struts2Mini test with Spring-struts2Hi everyone!I'm a newbie. I get this issue:I'm starting with a simple webapp for login.I ... 阅读全文
posted @ 2012-02-06 23:24 lexus 阅读(280) 评论(0) 推荐(0)

摘要: Depressed ProgrammerBecause programming is depressingSkip to contentAbout« When Web 2.0 goes wrong – Part2Spring’s AOP support can’t beignored »Unit Testing Struts 2 Actions wired with Spring usin... 阅读全文
posted @ 2012-02-06 23:20 lexus 阅读(1789) 评论(0) 推荐(0)

摘要: DownloadsIssuesSourceSearchforDownload:ScribeFire 4 for Chrome2 people starred this downloadUploadedby:cfinkeReleased:, 2011Uploaded:Oct 23, 2011Downloads:122FeaturedBrowser-ChromeFile:scribefire-4.cr... 阅读全文
posted @ 2012-02-06 23:20 lexus 阅读(92) 评论(0) 推荐(0)

摘要: DownloadsIssuesSourceSearchforDownload:ScribeFire 4 for Chrome2 people starred this downloadUploadedby:cfinkeReleased:, 2011Uploaded:Oct 23, 2011Downloads:122FeaturedBrowser-Chromehttp://code.google.c... 阅读全文
posted @ 2012-02-06 23:20 lexus 阅读(221) 评论(0) 推荐(0)

摘要: depressedprogrammer.wordpress.com/2007/06/18/unit-testing-struts-2-actions-spring-junit/http://www.google.com.hk/search?client=ubuntu&channel=fs&q=struct2+sping+test&ie=utf-8&oe=utf-8 阅读全文
posted @ 2012-02-06 21:43 lexus 阅读(200) 评论(0) 推荐(0)

摘要: http://kennylee26.iteye.com/blog/875533【转】Struts2+Spring的UnitTest编写(使用StrutsTestCase的子类StrutsSpringTestCase) 博客分类:StrutsSpring单元测试XMLWebStruts 我们都知道struts2有自己的对象工厂即obejectFactory,但是你也可以使用spring来作为对象工... 阅读全文
posted @ 2012-02-06 21:19 lexus 阅读(1004) 评论(0) 推荐(0)

摘要: http://jzbgjsy.iteye.com/blog/736162测试Action 博客分类:测试SpringjunitAntStrutsIOC1、添加jarstruts2-junit-plugin-2.1.8.jar //strutsorg.springframework.core-3.0.3.RELEASE.jar //springorg.springframework.test-3.... 阅读全文
posted @ 2012-02-06 21:14 lexus 阅读(269) 评论(0) 推荐(0)

摘要: http://velocity.apache.org/The Apache Velocity ProjectVelocity is a project of the Apache Software Foundation, charged with the creation and maintenance of open-source software... 阅读全文
posted @ 2012-02-06 20:55 lexus 阅读(447) 评论(0) 推荐(0)

摘要: struts2 的 velocity整合 博客分类:web层velocityStrutsServletApacheWeb感觉现在的JAVA框架越来越多,纷繁复杂。想彻底研究一种框架,了解下其中的一些通用的东西,于是选择了struts2。看了很多struts2的文档,发现很多都是在讲struts2与JSP使用很多标签库,我不喜欢用那么多的标签,于是研究了下如何使用velocity与 struts2... 阅读全文
posted @ 2012-02-06 20:54 lexus 阅读(391) 评论(0) 推荐(0)

摘要: http://tech.163.com/special/000915SN/ststruts.html 阅读全文
posted @ 2012-02-06 20:47 lexus 阅读(459) 评论(0) 推荐(0)

摘要: https://github.com/thoughtbot/capybara-webkitcapybara-webkitA capybara driver that uses WebKit via QtWebKit.Qt Dependencycapybara-webkit depends on a WebKit implementation from Qt, a cross-platform de... 阅读全文
posted @ 2012-02-06 19:01 lexus 阅读(626) 评论(0) 推荐(0)

摘要: http://developer.qt.nokia.com/doc/qt-4.8/qtwebkit.htmlWebKit in QtThe QtWebKit module provides a web browser engine as well as classes to render and interact with web content. More...ClassesQGraphicsW... 阅读全文
posted @ 2012-02-06 18:31 lexus 阅读(505) 评论(0) 推荐(0)

摘要: http://code.google.com/p/foxkit/foxkitQtWebKit based Web Browser ProjectHome Downloads Wiki Issues Source Summary Updates People Project Information Activity None Project feeds Code lice... 阅读全文
posted @ 2012-02-06 18:21 lexus 阅读(242) 评论(0) 推荐(0)

摘要: http://hi.baidu.com/331703405/blog/item/82de913cb7d0773171cf6cd6.htmlformExtractor: 在QtWebkit的javascript访问QObject的例子2010-05-17 11:09现在写这个题目晚了点, QtWebkit一度是个比较火的话题(当然目前仍然很火), 这个formExtractor应该是在4.5的时候... 阅读全文
posted @ 2012-02-06 18:17 lexus 阅读(500) 评论(0) 推荐(0)

摘要: 技术日志Categories 声zzz行色匆匆基于PyQt4.QtWebKit的浏览器模拟类# coding: utf8 import sys import os from time import time import code from PyQt4.QtCore import * from PyQt4.QtGui import * from PyQt4.QtWebKit import... 阅读全文
posted @ 2012-02-06 18:14 lexus 阅读(1770) 评论(0) 推荐(1)

摘要: 1943119432 LP12020150Y500008501D6-5101-9486-771C 阅读全文
posted @ 2012-02-06 12:46 lexus 阅读(185) 评论(0) 推荐(0)

摘要: 转自:http://www.leebolin.cn/20090221/chanage-ubuntu-hostname/如何在ubuntu下更改主机名?如何更改ubuntu的电脑名呢?如果我们安装ubuntu时随便输入了一个主机名,安装完成后感觉不好又想修改,怎么办?经过一番研究得到了修改的方法,其实很简单,只要打开/etc/hostname和/etc/network文件修改里面的老的主机名为你的新... 阅读全文
posted @ 2012-02-06 11:42 lexus 阅读(239) 评论(0) 推荐(0)

摘要: 转自:http://www.leebolin.cn/20090221/chanage-ubuntu-hostname/如何在ubuntu下更改主机名?如何更改ubuntu的电脑名呢?如果我们安装ubuntu时随便输入了一个主机名,安装完成后感觉不好又想修改,怎么办?经过一番研究得到了修改的方法,其实很简单,只要打开/etc/hostname和/etc/network文件修改里面的老的主机名为你的新... 阅读全文
posted @ 2012-02-06 10:48 lexus 阅读(205) 评论(0) 推荐(0)

摘要: sudo gedit ~/.bashrcalias 179="ssh cis@10.10.243.179"alias s104="ssh cis@10.10.243.104"source ~/.bashrcssh生成公钥ssh-keygencd ~/.sshupload id_rsa.pub to ssh server on the same directorycat ./id_ra.pub >>... 阅读全文
posted @ 2012-02-06 10:30 lexus 阅读(363) 评论(0) 推荐(0)

摘要: wgethttp://www.apache.org/dyn/closer.cgi?path=%2Factivemq%2Fapache-activemq%2F5.5.1%2Fapache-activemq-5.5.1-bin.tar.gztar -zxvfapache-activemq-5.5.1-bin.tar.gz&& cdapache-activemq-5.5.1-binsudo touch ... 阅读全文
posted @ 2012-02-06 09:39 lexus 阅读(330) 评论(0) 推荐(0)

摘要: http://barkingiguana.com/2008/12/13/deploying-activemq-on-ubuntu-810/Deploying ActiveMQ on Ubuntu 8.10I used Ubuntu 8.10 in this article but the instructions will probably work on 8.04 and 7.10 as we... 阅读全文
posted @ 2012-02-06 09:21 lexus 阅读(333) 评论(0) 推荐(0)

摘要: gpg 阅读全文
posted @ 2012-02-06 09:20 lexus 阅读(139) 评论(0) 推荐(0)

摘要: http://barkingiguana.com/2008/11/28/running-daemontools-under-ubuntu-810/Running Daemontools under Ubuntu 8.10Daemontools is a collection of tools that help keep manage processes. It's great for kee... 阅读全文
posted @ 2012-02-06 09:20 lexus 阅读(317) 评论(0) 推荐(0)

摘要: 注册: 2006-04-12 18:54帖子: 3978 送出感谢: 0 次 接收感谢: 2 次 http://forum.ubuntu.com.cn/viewtopic.php?f=120&t=138042PGP(Pretty Good Privacy)又称为Pretty Good Privac... 阅读全文
posted @ 2012-02-06 09:06 lexus 阅读(1353) 评论(0) 推荐(0)