
structs
穿越雾水123
告别失败最好的方法,就是积累和思考!
展开
-
There is no Action mapped for namespace [/user] and action name [user!add] associated with context p
使用Struts2.3.16 出现There is no Action mapped for namespace [/user] and action name [user!add] associated with context path错误,原因是(1)DMI可能导致安全问题(2)DMI与通配符方法功能有重叠,因此该版本Struts2默认关闭DMI,需要在struts.xml中加一句<cons原创 2015-01-30 23:18:12 · 868 阅读 · 1 评论 -
Structs2.3.20新改进
Apache Struts 2.3.20 发布下载了,改进包括:合并后的安全修补程序版本中,2.3.16.1、 2.3.16.2、 2.3.16.3扩展现有的安全机制,来阻止访问给 Java 包和类RedirectResult 参数集合在默认情况下,使 ParametersInterceptor 支持中文哈希键themes.properties可以使用加载 ServletContext翻译 2015-01-26 11:57:14 · 431 阅读 · 0 评论 -
struts2-json-plugin-2.2.3 使用
最近在做struts+ajax+json项目,项目中使用了struts2-json-plugin-2.2.3.jar(一款json转化插件),研究了一段时间,今天来总结一下具体的使用过程。使用struts2-json-plugin-2.2.3.jar需要理解以下几点:1、struts2-json-plugin-2.2.3.jar就是一个将对象属性转化成json的东东,2、要转化的对象中必须要有转载 2015-04-08 21:04:07 · 1700 阅读 · 0 评论