How to do precompilation of JSP in wildfly/jboss with maven

Wilson Net
Wilson Net used Ask the Experts™
on
I have a web application that is deployed in wildfly 12, and I need to precompile the jsp for production, in the forums I saw that jspc is not longer  supported for jboss, also y tried maven plugin with no success.

i tried using management deployment and later do the explode forn the web console but the jsp isn't compiled
Also i couldn't find a command to do it from the hot-deployment, like glassfish --precompilejsp parameter.

how to do the precompilation of the jsp in wildfly?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2018
Commented:
The latest Wildfly indeed does not support JSP pre-compilation. Why don't you use Tomcat to pre-compile them and then copy the compiled classes into your project?
Distinguished Expert 2018

Commented:
It seems the only way to do it in the latest Wildfly is to pre-compile them with another application.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial