<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:context="http://www.springframework.org/schema/context"
xmln...
分类:
编程语言 时间:
2014-12-25 16:32:00
阅读次数:
416
使用WPF开发时经常会遇上自己建立的线程需要更新界面UI内容,从而导致的跨线程问题。 异常内容: 异常类型:System.InvalidOperationException 异常描述: “System.InvalidOperationException”类型的未经处理的异常在 WindowsBase...
分类:
编程语言 时间:
2014-12-25 01:20:12
阅读次数:
649
http://blog.163.com/zhangfei_jiayou/blog/static/562441782009826045248/dispatcher:用于页面转发,页面跳转过程一直是同一个线程,Action中的数据一直保存在。redirect:可用于返回一个页面、一个action、链接到...
分类:
其他好文 时间:
2014-12-17 17:54:54
阅读次数:
175
Result类型: 1.dispatcher(默认):服务器跳转到结果页面,Jsp页面或者html相当于 2.redirect:重定向到一个页面 3.chain(链条):forword到另外一个Action struts2API example: ...
分类:
其他好文 时间:
2014-12-15 13:29:32
阅读次数:
184
1.常用四种类型: a) dispatcher(默认) 服务器跳转(普通转发),就是forward到一个JSP或者HTML或者其他结果页面,不能是Action 视图请求地址是 http://localhost:8080/myweb/r1/r1.jsp ...
分类:
其他好文 时间:
2014-12-06 19:29:48
阅读次数:
234
1、web.xml配置 --Spring Controller 配置 contextConfigLocation /WEB-INF/dispatcher-servlet.xml org.springframework.web.c...
分类:
编程语言 时间:
2014-12-04 21:27:32
阅读次数:
155
前面几篇文章已经讲到了mybatis与spring 的集成。但这个时候,所有的工程还不是web工程,虽然我一直是创建的web 工程。今天将直接用mybatis与Spring mvc 的方式集成起来,源码在本文结尾处下载.主要有以下几个方面的配置
1. web.xml 配置 spring dispatchservlet ,比如为:mvc-dispatcher
2. mvc-dispatcher-...
分类:
编程语言 时间:
2014-12-03 21:28:14
阅读次数:
271
1、转发和重定向HttpServletResponse response转发: RequestDispatcher dispatcher = request.getRequestDispatcher("/secondServlet"); request.setAttribute("pwd...
分类:
编程语言 时间:
2014-11-27 09:07:41
阅读次数:
215
引用struts2所用到的jarweb.xml配置如下 struts2 org.apache.struts2.dispatcher.FilterDispatcher struts2 /* ...
分类:
系统相关 时间:
2014-11-26 18:44:32
阅读次数:
193
Dispatcher.Invoke(new Action(() => { // 执行操作。 }), Di...