Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBoss Problem

 
Meera Krishnan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic