• Post Reply Bookmark Topic Watch Topic
  • New Topic

WAR file structure

 
raphael Bereh
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Just a qyick question about the war file structure : Most of the time static ressources (jsp,html) are in the top level directory. Is that the only place they can be ? I mean I won to logically organise a set of applications into just one war file like

The problem is that I can refer to file in the root from any of the App and some of the resource like JDO metadata are not found either.
Thanks.
[ April 25, 2005: Message edited by: raphael Bereh ]
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmm. Why do you want to package multiple web apps into one WAR file? What are you trying to acheive? 3 "Apps" with only one WEB-INF directory in the same WAR == only one app.
 
raphael Bereh
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well you could see the apps as different modules and this in fact what they are. Each one was developped separatly to ease testing but now they need to go back together as explained earlier.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're not going to be able to do this from a war file.
There can only be one WEB-INF directory in each war.
Ear files can hold multiple wars but you would need to be using an app server that knows how to deal with them.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!