- 博客(7)
- 资源 (22)
- 收藏
- 关注
原创 struts global-exception-mappings解析
struts global-exception-mappings 1. In struts.xml, use global-exception-mappings to define mappings that catch-all exceptions of interest. global-exception-mappings> exception-ma
2012-10-31 15:50:08 3576
原创 struts2,动态方法调用
动态方法调用.docxStruts1框架提供了DispatchAction,从而允许一个Action内包含多个处理逻辑。Struts2同样提供了这种处理多个请求的Action比如:在一个页面上有登录和注册两个按钮,两个按钮都是提交到同一个Action进行业务处理。但处理的逻辑又完全不一样,这个时候我们就需要动态的改变URL来实现 首先我们要在JSP页面做点手脚,先看JSP页
2012-10-31 15:23:49 1430
原创 struts.xml和struts.properties详解
1) struts.xml该文件也是struts2框架自动加载的文件,在这个文件中可以定义一些自己的action,interceptor,package等,该文件的package 通常继承struts-default包。下面是这个文件的格式。xmlversion="1.0" encoding="GBK"?>下面指定Struts 2.1配置文件的DTD信息-->
2012-10-31 15:21:07 6140 2
原创 struts2 jsonplugin includeProperties 对list集合的正则配置
jsonplugin 0.32 0.34 官方下载 http://code.google.com/p/jsonplugin/文档:http://code.google.com/p/jsonplugin/wiki/Documentationhttps://cwiki.apache.org/confluence/display/WW/JSON%20PluginExcluding pro
2012-10-28 12:34:05 3764
原创 JQuery Radion 选中事件
JQuery radio checked 选中事件test$(document).ready(function() {$(".radioItem").change(function() {var $selectedvalue = $("input[name='rl$tt']:checked").val();alert($selectedvalue
2012-10-19 11:38:19 4018
原创 struts2防止重复提交问题
首先在struts配置文件中加入以下代码:<action name="fund_audit" class="com.gsww.faimis.web.action.fund.FundAction" method="audit"> <interceptor-ref name="token"/> <interceptor-ref name="params"
2012-10-16 12:46:49 412
TortoiseGit-1.8.9.0-64bit.zip
2014-08-04
Struts2标签库详解
2012-07-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人