请教问题

我正使用struts,编写完Action,编译通过,同时也将/home.do
映射到了该Action类,但是当请求home.do是,出现


message: No action instance for path /home could be created

description The server encountered an internal error (No action instance for path /home could be created) that prevented it from fulfilling this request.

可能是action类不能被实例化,请问为什么?

好可怜呀! 居然没有人回答这个问题。

但是更不兴的是我也遇到了这种情况。

老兄,咱们命苦。!!!!!!!!!!

action不能被实例化原因很多,有可能你struts-config.xml关于action的type输入有误,或者有可能你在JBoss 3.22这样的容器部署,你将Struts打包到了EJB部分,Web层就无法找到。

总之表面简单的问题实际会很复杂。