This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 9916

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
Similar Threads
Class loading in JBoss
compileing with .jar file
EJB Libraries in JBoss 4.2.2GA
Issue with jboss\lib\endorsed jar loading
compatible jar for jboss-6.0.0.M3