[英]Failing in Deploying Web App in Netbeans 8.0.2
Let me tell you what i did..让我告诉你我做了什么..
i am using Tomcat 7
and Netbeans 8.0.2
我正在使用
Tomcat 7
和Netbeans 8.0.2
Project Structure项目结构
the error错误
You are putting index.html
inside the WEB-INF
folder so you need to put index.html
page outside of WEB-INF
and inside the web Pages folder .您将
index.html
放在WEB-INF
文件夹中,因此您需要将index.html
页面放在WEB-INF
和web Pages 文件夹内。
Like this(Netbeans Web application Structure):像这样(Netbeans Web 应用程序结构):
You can refer above structure.你可以参考上面的结构。 it will work after that just clean and build your application and run on server.
之后它将工作,只需清理并构建您的应用程序并在服务器上运行。
I hope it will work for you :)我希望它对你有用:)
Thankxs a lot everyone the problem was with my TOMCAT i installed the newer version and now it works, I am new to this community and was amazed to see the quick responses from you guys.非常感谢大家,问题出在我的 TOMCAT 上,我安装了较新的版本,现在它可以工作了,我是这个社区的新手,很惊讶看到你们的快速回复。 I really appreciate your dedication of helping the members
我真的很感谢你帮助会员的奉献精神
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.