开发structs.xml文件时候没有提示解决方法


在没有网络的情况下可能在编写structs.xml文件的时候没有提示这是因为Myeclipse在自动情况下网络"http://struts.apache.org/dtds/struts-2.0.dtd"获取提示,如果没有网络就没有提示了方法如下:
第一步:
Window->Perferens->MyEclilpse Enterprise Worbench->Files and Editors->XML->Add(到stucts安装目录G:\javaEE视频\J2EE_WEB\Struts2简洁版\传智播客struts2.1视频教程_所需软件\struts-2.1.8\src\core\src\main\resources)

第二步:KeyType 修改问 URI

第三步:Key http://struts.apache.org/dtds/struts-2.0.dtd

完成..

你可能感兴趣的:(开发structs.xml文件时候没有提示解决方法)