my dog learned polymorphism*
The moose likes JBoss/WildFly and the fly likes JBoss Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss Problem" Watch "JBoss Problem" New topic
Author

JBoss Problem

Meera Krishnan
Greenhorn

Joined: Dec 24, 2006
Posts: 9
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!)

Pleaeaeaease give me some idea???

Meera.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

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.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
 
subject: JBoss Problem
 
Similar Threads
Saving files in WAR file
WAR file deployment and jboss-service.xml
Need help to access images with app running on Weblogic 10
need help on Sun Java App Server 9.1
Trying to deploy a war file with datasources to JBoss