怎么在eclipse里面添加一个structs工程呢
eclipse里面已经有了structs包了,因为我在创建一个Action的时候能继承org.apache.struts.action.Action;
可是为什么找不到配置文件呢
或者说这个工程可能就建错了吗?
最好是现在版 的eclipse解决办法!
eclipse里面已经有了structs包了,因为我在创建一个Action的时候能继承org.apache.struts.action.Action;
可是为什么找不到配置文件呢
或者说这个工程可能就建错了吗?
最好是现在版 的eclipse解决办法!
Action的.xml是在web-inf下面的,自己好好找找
MyEclipse下建立Struts工程 (图解)
WecContent
+META-INF
-WEB-INF
-lib
commons-beanutils.jar
commons-collextions.jar
commons-digester.jar
commons-fileupload.jar
commons-logging.jar
commons-validator.jar
jakarta-oro.jar
struts.jar
struts-bean.tld
struts-config.xml
struts-html.tld
struts-logic.tld
struts-nested.tld
struts-tiles.tld
struts-defs.tld
validation.xml
validator-rules.xml
web.xml
相关文件在struts-1.2.9-bin.zip 中 大小约为13.8M
struts的目录结构参考ls
可是为什么不能直接建一个structs呢
如果不能直接建的话,那怎么才能搞个structs出来呢
要有配置文件 然后是web。xml的配置
这个是都要做的事情啊
yinyuan1987
不过我是想在eclipse里建个structs工程
一般都是在WebRoot->WEB-INF下