简体   繁体   中英

Failing in Deploying Web App in Netbeans 8.0.2

Let me tell you what i did..

  1. made web app
  2. made index.html by right-clicking on web-inf
  3. made web.xml by right-clicking on web-inf ( didn't made any changes to it )
  4. tried to deployed it but failed

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM