struts2
cf
这个作者很懒,什么都没留下…
展开
-
struts开发指南
Core Developers Guide In processing a request, the framework utilizes three key class types: Actions, Interceptors, and Results, which are configured using one or more XML documents (or Java 5 ann转载 2012-06-10 16:14:13 · 833 阅读 · 0 评论 -
struts ajax验证之json validate interceptor 原理
原文: http://struts.apache.org/2.1.6/docs/ajax-validation.html 首先我们要在需要json validation的Action上加上jsonValidationWorkflowStack拦截:"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "htt原创 2012-06-10 15:58:35 · 2632 阅读 · 0 评论 -
struts json result 指定需要序列化的属性
官方地址: http://struts.apache.org/2.2.3/docs/json-plugin.html 设置哪些属性要序列化哪些不需要序列化;Customizing Serialization and DeserializationUse the JSON annotation to customize the serialization/deserializatio原创 2012-06-10 16:07:36 · 1304 阅读 · 0 评论