WEB-INF is the name of a folder found in Java web applications. It is used to store deployment information such as the web.xml, required library files and compiled class files. It is normally not accessible from web. Any files which you want to put on war but do not want to make to public then web-inf is the place where you can keep those files.
Questions tagged [web-inf]
185 questions
-1
votes
1 answer
create war file in tomcat and create web-inf
I have a java project that use tomcat. when I run project in idea with tomcat(version 6)my project run in idea and in tomcat not create web inf file for my project and war file. why?
thanks

Juliet
- 59
- 5
-1
votes
1 answer
i can't access to WEB-INF/file.jsp even with using request dispatcher i got error 404
I can't access to WEB-INF/test.jsp even with using request dispatcher and froward method from a 'servlet' , i get error 404 and when i try to access to http://localhost:8080/app/test.jsp ,where "/app" is the project name ,
Please help me , i…
-1
votes
3 answers
Java EE read resources from dispatched html
I'm building a servlet that uses a RequestDispatcher to load a html page for the log in.
The html is in /WEB-INF/templates/main.html
I'm trying to load an image for that html file which is on /WEB-INF/resources/image.jpg
I've tried with

Jorge Barroso
- 1,878
- 1
- 13
- 14
-1
votes
3 answers
Not Showing Welcome Page JSP
I have created dynamic web project in eclipse and added index.jsp file, obviously thats my welcome page.I have added it in web.xml,I am using angular js for front-end interface management.
here is my web.xml

droidev
- 7,352
- 11
- 62
- 94
-1
votes
1 answer
redirection with jsf - from a page in web to a page in WEB-INF
I would like to redirect from a page in webapp/index to a page in WEB-INF/user.xhtml
How can I do that in jsf ?
regards,

akaliza
- 3,641
- 6
- 24
- 31