Home > database >  Why I need to specify the folder to see the index.html in Tomcat 10
Why I need to specify the folder to see the index.html in Tomcat 10

Time:11-26

I've created a web app in Netbeans with Tomcat 10 and some file, one of them is the index.html file. I want that when I search this http://localhost:8080 in the browser, shows the index.html file. Right now when I search http://localhost:8080 it shows the tomcat init page, and I dont really understand why.

I though that meaby I need to specify something int hte context.xml file. Right now, the proyect is insede a folder named Prac, and the content od contex.xml is

<?xml version="1.0" encoding="UTF-8"?>
<Context path="/Prac"/>

What am I doing wrong?

CodePudding user response:

I think you should tomcat 9 because tomcat 10 not working stable.

  • Related