myeclipse必须在地址栏输入webroot才能访问web项目

使用myeclipse或者eclipse建立的web项目,在发布或者在开发过程中,在地址栏输入http://localhost:8080/ProjectName,并不能访问项目的默认网页index.jsp或者index.html,而是必须加上WebRoot或者WebContent才能正常访问,即地址为http://localhost:8080/ProjectName/WebRoot 或者 http
相关文章
相关标签/搜索