[jboss-user] [Beginners Corner] - Question about path

tomsonxu do-not-reply at jboss.com
Wed Oct 25 06:34:02 EDT 2006

I created a web app, which allows users to upload their images, and then can view them. There is a folder named "uploadImg" in my app used to store the uploaded images. 

However, every time I hot deploy my ear file under "deploy" folder, jboss will extract the ear file to "tmp/deploy" folder with different temp folder.

For example, I deployed my app on a month ago, it was extracted to "tmp/deploy/tmp234523myapp.ear-contents" folder. Now I modify some functions and redeploy the app. it is extracted to "tmp/deploy/tmp234611myapp.ear-contents" folder. Then I can't use the images under the folder "tmp/deploy/tmp234523myapp.ear-contents/.../uploadImg".

Can anyone give me a solution? thanks

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

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

More information about the jboss-user mailing list