[jboss-user] [JBoss Seam] - upload files to external path/folder

hasc do-not-reply at jboss.com
Fri Sep 21 09:51:28 EDT 2007


Hi,

is it possible to upload files into a path/folder that is not located in the web applications' root directory?

the application's  .ear is located in "/path/jboss/default/deploy/myapp.ear"

Is it possible to upload files e.g. images in a directoy that is located in "/anotherpath/myfolder" and configure the application in a way that i can reference these pictures within a xhtml file.

e.g. <img src="/myimages/picture.jpg"/>
where /myimages/picture.jpg points to "/anotherpath/myfolder/picture.jpg"

or /myimages --> /anotherpath/myfolder

I'm not looking for a solution where i specify the path in a way like: <img src="http://..."/>

Thanks and regards,
hasc








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

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



More information about the jboss-user mailing list