Wars are designed to be isolated from each other. They can see βupβ in the application class loader (EAR level), but cannot access the peer class loader. Therefore, although there may be a way to make it work on your specific application server, doing this is not recommended. If someone in the group of operations changes the deployment parameters in a row, they may not know that you are relying on this mechanism and would break the application in a (possibly) mysterious form.
Attempting to access the peer class loader is similar to violating Java EE (if not the letter of the specification, at least in its spirit).
If you cannot put static content on a separate server for access, at least put static PDF files in a JAR (as suggested by others) and deploy it in an EAR. When you do this, be sure to add the JAR entry to the WAR declaration manifest file (otherwise it will not load the JAR into the application class loader).
Jonathan w
source share