Struts1.x struts-config.xml 文件打开方式

struts1.x 文件 用 struts xml edit 打开方式报错,则进行以下配置:

1、 右键单击工程,选择MyEclipse-> add Struts capabilities

2、 在.project文件里添加一行代码
    
     <projectDescription>
     <natures>
     ......
     <nature>com.genuitec.eclipse.cross.easystruts.eclipse.easystrutsnature</nature>
     ......
     </natures>
    </projectDescription>

你可能感兴趣的:(struts1)