java - How to create a single war file from multiple dynamic web project -
i want create single war file multiple dynamic web project. example first project's webcontents folder data should merge second project's webcontents folder data.
like suppose first project "login.jsp" file , second project "welcome.jsp" file should merge single war file. using eclipse, possible create single war file multiple dynamic web project, if yes please suggest me point regarding same or there way achieve this.
you might try using web fragment projects core dynamic web project instead. new web fragment project wizard create meta-inf
directory within default java source folder. create resources
folder inside of that, , contents available root of deployed web-app. can add , remove fragments deployment using deployment assembly property page on dynamic web project, other kind of java project.
see https://blogs.oracle.com/alexismp/entry/web_inf_lib_jar_meta guidance on how works, if don't want dive part of java ee , servlet specs.
Comments
Post a Comment