ITeye博客

utils

共 2 篇文章

利用Java反射机制将Json格式字符串反射为 Bean List

前面提到过Strtus2在2.1.6以后就将Json格式整合到Strtus中了,可见到struts-json-plugin,在Struts的文档里面有下面一段例子: Example Setup Action This simple action has some fields: Example: Write the mapping for the action Add the map inside a package that extends "json-default" Add a result of type "json" Example: JSON example output 如例子…

2011-07-14 00:13 · Java · utils · Java · json

一个简单的验证码生成工具--servlet版本

需要用到servlet-api.jar

2011-05-13 21:20 · Java · utils · Java · Servlet