<?xml version="1.0" encoding="UTF-8"?>
<project-module
type="WEB"
name="rrzV1.4666"
id="myeclipse.1215365558929"
context-root="[b][color=red]/ROOT[/color][/b]"
j2ee-spec="5.0"
archive="rrzV1.4666.war">
<attributes>
<attribute name="webrootdir" value="[b][color=red]/WebRoot[/color][/b]" />
</attributes>
</project-module>
project里的.mymetadata文件,像上边那么配置,就可以用http://localhost 而不用http://localhost/project_name这样来访问index页面了,方便~
<project-module
type="WEB"
name="rrzV1.4666"
id="myeclipse.1215365558929"
context-root="[b][color=red]/ROOT[/color][/b]"
j2ee-spec="5.0"
archive="rrzV1.4666.war">
<attributes>
<attribute name="webrootdir" value="[b][color=red]/WebRoot[/color][/b]" />
</attributes>
</project-module>
project里的.mymetadata文件,像上边那么配置,就可以用http://localhost 而不用http://localhost/project_name这样来访问index页面了,方便~