Hi

Any  comments for the same ??



With regards
KArthik

________________________________
From: [email protected] 
[mailto:[email protected]] On Behalf Of Karthik Nanjangude
Sent: Monday, July 20, 2009 8:04 PM
To: [email protected]
Subject: [jboss-user] Mapping external Static folder within existing application

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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to