Explanation:
We are using WildFly 18.0.1 in domain mode with one master and multiple slaves with jdk1.8.0_261. Application is deployed on WildFly Master in zipped .ear format. Application Ear Structure
application.ear
-> abc.war
-> file1.html
-> file2.js
-> ...
-> WEB-INF
-> classes
-> org
-> apache
-> jsp
-> com
->test
-> test_005_login.class
-> web.xml
-> jboss-web.xml
-> pqr.jar
-> lib
-> xyz.war
-> META-INF
-> application.xml
-> jboss-deployment-structure.xml
We want to access test_login.jsp from pqr.jar and other wars, which has code to call test_login.jsp present in com/test folder.
In domain.xml we use following configuration for JSPs.
Note: We want to avoid JSP servlet entries in web.xml as we have more than 100 JSPs