How to precompile JSP files in Wildfly 10?

In older versions of JBoss AS, the Tomcat jasper JSPC compiler can be used to pre-compile JSP pages to ensure that they are all syntactically valid JSP files.

According to https://access.redhat.com/solutions/175893 , like JB EAP 6, the JSPC compiler is no longer supported.

How can I verify that the JSP files are syntactically correct during the build / package process? Otherwise, it seems that the only solution is to run a full JB instance at the testing stage and migrate to each JSP separately to ensure that it compiles properly every time.

Is there a mechanism supported by WildFly for checking JSP pages during the build phase?

+4
source share

Source: https://habr.com/ru/post/1682246/


All Articles