Dear all, I am new to JBoss . Earlier our web application was in Tomcat, now we are trying to change the webserevr to JBoss. We want to display images on browser which will be loaded in particular folders dynamically when the application runs. But since we have to deploy a war file before the application starts (unlike tomcat), it only displays those imaged that were already there before the var file has been created. (I unzipped the war file and checked its contents and found that the images that are displayed were already inside this file, so I concluded thart it looks inside the war file for the images, although we have seperate fulders for them. But we can't change the contents of a war file no? Or else can we make JBoss to look in another directory ? I may be saying stupid things but pleae understand I am entirely new to this!)
Well, you can always do an expanded deployment. Make a directory inside the deploy directory that is the same name as your war file name. Then unzip the contents into that directory.