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

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

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

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 阅读(376) 评论(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 阅读(1720) 评论(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 阅读(579) 评论(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 阅读(1101) 评论(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 阅读(237) 评论(0) 推荐(0)

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

摘要: 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 阅读(199) 评论(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 阅读(1000) 评论(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 阅读(264) 评论(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 阅读(442) 评论(0) 推荐(0)

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

摘要: http://tech.163.com/special/000915SN/ststruts.html 阅读全文
posted @ 2012-02-06 20:47 lexus 阅读(457) 评论(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 阅读(621) 评论(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 阅读(503) 评论(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 阅读(239) 评论(0) 推荐(0)