• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

jsp precompile

 
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Will jboss server support jsp precompilation?.please reply..

Thanks,
Priya.
 
Sheriff
Posts: 67645
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moved to the JBoss forum.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Priya Jothi
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 168
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok..Thanks Jaikiran for your reply..it really helped a lot..now it is working!!

Thanks,
Priya.
 
reply
    Bookmark Topic Watch Topic
  • New Topic