用的是jQuery的ajax请求,请求action中的某个方法,但总是提示Could not find action or result.
请求的路径:
url : "/AssetsWeb/boc/financialfare/statistics/exportHtml";
提示的错误:
There is no Action mapped for namespace /boc/financialfare/statistics and action name [object Object]. - [unknown location];
struts配置文件:
<!-- 統計模組 -->
/ui/financialfare/budgetmonitoringcondition/budget_monitoring_condition_list.vm
struts中的方法:
public String exportHtml() throws Exception {
// ruleList = generateRules();
System.out.println("yyyyyyyyyyyyyyyyyyyyyyyyyyy");
System.out.println("yyyyyyyyyyyyyyyyyyyyyyyyyyy");
return SUCCESS;
}
请各位赐教~