JBoss Community

Need to load css/js in EAR from a WAR

created by Satya K in JBoss Web Development - View the full discussion

Hi All,

 

I have a EAR with multiple  WAR applications and each WAR having common set of images, CSS and JS  files.

 

I would like to keep all such resources in EAR and then  read/load/refer them in all WAR applications from EAR.

 

I have tried  to add such folders to manifest file and then use the images or bundle  images into a jar and then load from EAR, but that has not worked.

 

Could you  let me know the ways in which I can remove this duplication of static  resources.

 

Regards,

Satya

Reply to this message by going to Community

Start a new discussion in JBoss Web Development at Community