Let me tell you what i did..
i am using Tomcat 7
and 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 .
Like this(Netbeans Web application Structure):
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. I really appreciate your dedication of helping the members
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.