`

"No action instance for path XXX could be created"

阅读更多

根据报错信息提示:

只写了action的配置信息 并没有创建实际的action类,需要在struts-config.xml下查看(for example):

<action-mappings>
  <action path="/cal"
    type="com.eiok.struts.RegAction"
    name="calForm"
    scope="request"
  >
</action-mappings>

 

<action-mappings>
  <action path="/cal"
    type="com.eiok.struts.RegAction"
    name="calForm"
    scope="request"
  >

</action-mappings>

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics