我需要知道如何从不提交表单的按钮调用Struts2操作。当我单击该按钮时,它将调用一个Struts2操作,该操作将对SSRS服务器(SQL server Reporting Services)进行web服务调用。服务器将报告发送到我放入响应中的流。使用JSF很容易,commandButton提供了一个"action“属性。{ public String edit() call web service, put the stream on the respons
我已经编写了一个用于调用struts2操作的ajax调用,默认情况下它将执行方法,但不是针对struts.xml中定义的任何方法。请告诉我如何在javascript中形成url,以便使用struts.xml中定义的方法调用正确的操作 function showCustomer(str) {
emailRequestEmail id doesnot exist&qu