Is WEB-INF in CLASSPATH?

Is the WEB-INF folder in CLASSPATH a Java web application?

+49
java classpath web-inf
Apr 27 '09 at 15:01
source share
2 answers

I assume that you are referring to the /WEB-INF in the root folder of the web application structure.

No, this is not on the way to classes.

/WEB-INF/classes is on the class path, although the JAR files are in /WEB-INF/lib .

+68
Apr 27 '09 at 15:03
source share

In addition, the files in WEB-INF are protected from a web container request, i.e. they are invisible to the outside world.

+9
Apr 27 '09 at 15:13
source share



All Articles