how to I have two .war files within one .ear file?

后端 未结 1 395
-上瘾入骨i
-上瘾入骨i 2021-01-13 13:07

I use jboss 4.0.2 and i want to have two .war files within one .ear file .

1条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-13 13:41

    I would have thought this was self-evident from the structure of the EAR's application.xml file, but here's an example of how it looks with two WARs:

    
    
      
        
          /directory/of/war1
          /war1
        
      
      
        
          /directory/of/war2
          /war2
        
      
    
    

    0 讨论(0)
提交回复
热议问题