[jboss-user] Mapping external Static folder within existing application

Karthik Nanjangude karthik.nanjangude at xius-bcgi.com
Mon Jul 20 10:34:26 EDT 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20090720/e2dde2b0/attachment.html 


More information about the jboss-user mailing list