File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes jsp precompile Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "jsp precompile" Watch "jsp precompile" New topic
Author

jsp precompile

Priya Jothi
Ranch Hand

Joined: Jul 13, 2004
Posts: 168
Will jboss server support jsp precompilation?.please reply..

Thanks,
Priya.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60053
    
  65

Moved to the JBoss forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9317
    
109

If your application contains jsps that are already compiled, then yes JBoss will use those precompiled jsps. But precompiling the jsps will be part of your application and not JBoss. Have a look at:

Pre compile jsps


[My Blog] [JavaRanch Journal]
Priya Jothi
Ranch Hand

Joined: Jul 13, 2004
Posts: 168
Ok I understand..I've also written the JSPC task in ant script to do precompilation.I need to run this script using the following command.

$ANT_HOME/bin/ant -Dtomcat.home=<$TOMCAT_HOME> -Dwebapp.path=<$WEBAPP_PATH>


In the above command,what i have to set it as tomcat_home?.I'm using jboss server..which path should be taken as tomcat_home from jboss setup?.Kindly reply me if you know..

Thanks in advance,

Priya.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9317
    
109

Tomcat comes bundled as part of JBoss and it can be found in: %JBOSS_HOME%\server\default\deploy\jbossweb-tomcatxx.sar (depending on which version of JBoss you are using). However the contents of jbossweb-tomcatxx.sar are not the same as that you will find in a standalone tomcat. This folder will not contain any bin or lib directories. All the necessary jars are directly placed inside this folder. You will have to change the build script accordingly.
Priya Jothi
Ranch Hand

Joined: Jul 13, 2004
Posts: 168
Ok..Thanks Jaikiran for your reply..it really helped a lot..now it is working!!

Thanks,
Priya.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp precompile
 
Similar Threads
what is defalut value of Custom tag body-content
pop up page
WA #1.....word association
creating a pop up calendar within a form
Struts: No getter method for property name problem