[jboss-user] Mapping external Static folder within existing application
Karthik Nanjangude
karthik.nanjangude at xius-bcgi.com
Wed Jul 22 10:34:49 EDT 2009
Hi
Any comments for the same ??
With regards
KArthik
________________________________
From: jboss-user-bounces at lists.jboss.org [mailto:jboss-user-bounces at lists.jboss.org] On Behalf Of Karthik Nanjangude
Sent: Monday, July 20, 2009 8:04 PM
To: jboss-user at lists.jboss.org
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20090722/e9971594/attachment.html
More information about the jboss-user
mailing list