| 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: 56529
|
|
|
Moved to the JBoss forum.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8209
|
|
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: 8209
|
|
|
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.
|
 |
 |
|
|
subject: jsp precompile
|
|
|