[jboss-user] [Installation, Configuration & DEPLOYMENT] - Mapping a physical directory to a virtual directory

CreatureOfLegend do-not-reply at jboss.com
Mon Apr 28 17:07:31 EDT 2008


Is there a way to map a physical directory either inside of the jboss folder or somewhere else on the hard-drive to a virtual directory accessable through the online url in JBoss?

for example:
D://Jboss#.##/something/images/
is
http://my.url.com/images/

Our app needs to allow users to uplaod images and html stuff that goes w/ them, but we can't re-build the war file every time someone does that.  The html is stored in the database. We need them to be able to hardcode a url in the html code's src tag for the directory to access images there.

Any suggestions would be welcome. Thanks :)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147367#4147367

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147367



More information about the jboss-user mailing list