Is WEB-INF in the CLASSPATH? Is WEB-INF in the CLASSPATH? java java

Is WEB-INF in the CLASSPATH?


I'm assuming you're referring to the /WEB-INF directory in the root of the web application folder structure.

No, it's not in the classpath.

/WEB-INF/classes is on the classpath though, and so are the JAR files in /WEB-INF/lib.


Additionally files in WEB-INF are protected against being requested by the web-container, i.e. they are invisible to the outside world.