File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Pre-Compiling JSP in JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Pre-Compiling JSP in JBoss" Watch "Pre-Compiling JSP in JBoss" New topic

Pre-Compiling JSP in JBoss

Chinmay Bajikar
Ranch Hand

Joined: Dec 08, 2001
Posts: 159
I need to pre-compile some jsp's and put those classes in a jar, which then goes in the lib folder of my war.
This is for code hiding.
I have tried using the jasper in jboss, but it doesnt seem to work.
Is there any other way to do this?
I dont want to do the load on startup, as I need to classes before deployment so that I can package them in a jar.

Please let me know,
Thanks in advance,

The strength of the Wolf is the pack & the strength of the pack is the wolf....Rudyard Kipling
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

Have a look at:

Precompile JSP using JSPC, through build

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: Pre-Compiling JSP in JBoss
It's not a secret anymore!