struts2配置文件
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.
<struts>
<pacakge name="extjs" namespace="/extjs" extends="json-default">
<action
name="add" class="com.wct.actioni.addAction" method="add">
<result type="json">
<param name="root">page</param>
</result>
</action>
</pacakge>
</struts>