Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SOLVED: Cannot access index.html in tomcat server, probably wrong web.xml file

Crone:

I have a Tomcat Server and I'm trying to access the index.html file located in the WEB-INF folder, as shown in the picture below


As seen in the picture, when I open http://localhost:9999/index.html it throws a 404

This is my web.xml file:






index.html
index.htm
index.jsp
default.html
default.htm
default.jsp


OpenAPI
org.glassfish.jersey.servlet.ServletContainer

jersey.config.server.provider.packages

api.ws;api.ws.oper



com.sun.jersey.spi.container.ContainerRequestFilters
api.ws.oper.Authorization

1


OpenAPI
/api/*
*.html



Is it a problem that it's located under WEB-INF/lib? I tried moving it to WEB-INF with no success.



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered
HERE


This post first appeared on Stack Solved, please read the originial post: here

Share the post

SOLVED: Cannot access index.html in tomcat server, probably wrong web.xml file

×

Subscribe to Stack Solved

Get updates delivered right to your inbox!

Thank you for your subscription

×