Hi
The URL below describes mapping external Directories as web
application so the static content is available for other applications to use
https://www.jboss.org/community/wiki/ExternalDirectories
Question
Tomcat also has another configuration where in the external
Static directory can be mapped to an container managed web application
This can be achieved as by creating a file with named as
Eg: APP1#images.xml with content as
<?xml version="1.0"
encoding="UTF-8"?>
<Context
docBase="D:/JAVA/images"
workDir="work\Catalina\localhost\APP1">
</Context>
Where http://127.0.0.1:8080/APP1
is the web application and images is a static folder mapped via ‘APP1#images.xml’
within
APP1 and can be directly referred to the static images
folder as http://127.0.0.1:8080/APP1/images
HOW can we achieve this in JBOSS ?
With regards
Karthik