• Post Reply Bookmark Topic Watch Topic
  • New Topic

when is a JSP compiled?  RSS feed

 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When is a JSP page recompiled? Does the compilation happen
if we change only the HTML part of a JSP page?
 
Ranch Hand
Posts: 247
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Each time when request hit the JSP Page...
 
Rajiv Chelsea
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont think that is correct
 
Author and ninkuma
Marshal
Posts: 66676
167
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ram Narayan.M wrote:Each time when request hit the JSP Page...


Incorrect.

The JSP is compiled immediately after translation which happens whenever the JSP is changed (and it doesn't matter what part of the page has changed) or upon the JSP's first access.

It is not recompiled on every request.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66676
167
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might find this article informative.
 
Montana has cold dark nights. Perfect for the heat from incandescent light. Tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!