在struts.xml中添加下面的句子,让spring来管理action
下面看看applicationContext.xml中的action配置
然后看看怎么把这个在struts.xml中应用这个bean
/success.jsp
/regist.jsp
/regist.jsp
如果要用ajax技术发送到某个action,其中url也写成配置文件中的action名字即可
比如$.post(“regist”, {json: name}, callBack, "json");