• 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
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

JSP Class

 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have test.jsp; its compiled to produce _test.class. Test.jsp is not edited.

Can you please clarify:
- every time _test.class is produced its going to be SAME in terms of its binary content. Or whenever _test.class is created, the binaries will be different.

Thanks
J
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The first time a JSP is accessed, it is compiled into a class file and stored in a cache. The second time it is accessed, the application server checks to see if the JSP file has changed since the class file was created. If it has not changed, the compile step is skipped and the same class file is used. If you change the JSP, the application server will detect that it was changed since the last compile and will perform the compile step again and replace the class file in the cache.
 
reply
    Bookmark Topic Watch Topic
  • New Topic