1.form要加一个<input type="hidden" name="method" value="XXXX"/>
2.struts-config.xml
<action path="/locale" type="javacommon.struts.LocaleAction"
name="localeForm" scope="request" parameter="method">
</action>
就可以把请求转到相应的方法里面去
public ActionForward changeLanguage(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) {
2.struts-config.xml
<action path="/locale" type="javacommon.struts.LocaleAction"
name="localeForm" scope="request" parameter="method">
</action>
就可以把请求转到相应的方法里面去
public ActionForward changeLanguage(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) {