Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP precompiled??

 
neeti ravi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it true that JSP is precompiled??or is it compiled at the time when it is converted to a servlet??and what about servlets.It is precompiled??
Please help....
thanks in advance
neeti
 
manav kher
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A jsp is compiled the first time it is called by a client..and yes it is compiled into a servlet.
manav
 
neeti ravi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks manav
so that means JSP is not precompiled,right??
and servlets are precompiled.
but what happens when a servlet is included in nother one, will it have to be reloaded.i guess some servers have that option, but otherwise what happens??
thanks again
neeti
 
Dustin Marx
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I understand that you can precompile JSPs now as well. The Java "Blueprints" at http://java.sun.com/j2ee/blueprints/packaging_deployment/tools/index.html even reports that this is a necessary requirement for a J2EE server to perform at deployment of a J2EE application.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic