以上是状态栏中的错误,No action instance for path /xin3Action could be created是提交表单后的信息。提示总是说生不成action的实例,找不到xin3/generated/TestSessionFacade。为什么啊,可是我编写一个普通的类却可以呢。以下是Action
package xin3;
import xin3.generated.*;
import org.apache.struts.action.*;
import javax.servlet.http.*;public class xin3Action extends Action {
  public ActionForward perform(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) {
   String wsdlUrl = "http://localhost:7001/web-services/TestSessionFacade?WSDL";
   xin3ActionForm xin3ActionForm=(xin3ActionForm)actionForm;
   String s0=xin3ActionForm.getA() ;
   try{
  TestSessionFacade service = new TestSessionFacade_Impl( wsdlUrl );
  TestSessionFacadePort port = service.getTestSessionFacadePort();
  String r = port.testFindByPrimaryKey(s0).toString()  ;
  xin3ActionForm.setB(r) ;
 }
 catch(Exception e)
 {}
 return (actionMapping.findForward("indext") );  }
} 以下是actionForm
package xin3;import org.apache.struts.action.*;
import javax.servlet.http.*;public class xin3ActionForm extends ActionForm {
  private String a;
  private String b;
  public void setA(String a) {
    this.a = a;
  }
  public String getA() {
    return a;
  }
  public void setB(String b) {
    this.b = b;
  }
  public String getB() {
    return b;
  }
  public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
    /**@todo: finish this method, this is just the skeleton.*/
    return null;
  }
  public void reset(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
  }
}
struts-config配置文件<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
<struts-config>
  <form-beans>
    <form-bean name="xin3ActionForm" type="xin3.xin3ActionForm" />
  </form-beans>
  <global-forwards>
    <forward name="indext" path="/indext.jsp" />
  </global-forwards>
  <action-mappings>
    <action name="xin3ActionForm" type="xin3.xin3Action" validate="false" scope="request" path="/xin3Action" />
  </action-mappings>
</struts-config>