• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

JSP Compilation problem

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends ,
Im facing a problem in Tomcat ,
if I replace a jsp with old time stamp than i still get response from old jsp ,its because jsp only gets compiled when its modification time gets increased but if modification time gets decreased than no compilation again !!!
i like to know why its happen so ,,its a bug or else .
Tx
 
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is not a bug.
If the timestamp on the JSP page is earlier thna the timestamp on the servlet that TomCat has previously created by compiling the JSP then the JSP will not be recompiled.
If you want to move back to an earlier version of a JSP page then you either need to 'Touch' the JSP so that it's timestamp is updated or remove the servlet class that TomCat has compiled from the JSP.
 
Jolly Ag
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
... ya its right to touch the jsp to get correct response ,but i want to know that if time stamp get decreased than why it doesnt complied again ,i mean is there any resion behind this type of implementation ?
tx again
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic