File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss Problem" Watch "JBoss Problem" New topic

JBoss Problem

Meera Krishnan

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???

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

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.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: JBoss Problem
It's not a secret anymore!