• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP not getting converted to Java in Eclipse

 
Ranch Hand
Posts: 69
MySQL Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,
I am having a copy Header.jsp with static menu(same for all users) inside it as backup for safer side. After having some problem in Header.jsp, which has code for creating different menu for different user. I deleted the later file and rename copy Header.jsp to Header.jsp. The problem is that after after users logs in, he is getting the same dynamic menu which is incorrect as i already replaced this with the static menu file. Can you clarify the reason for this
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is probably what happened. The JSP compiler depends on the JSP file's last modified timestamp. As long as the file does not have a newer timestamp than the last time the JSP compiler compiled the JSP, then it will not recompile. So I assume that the "copy Header.jsp" file has an older timestamp than what the "Header.jsp" had. To get the JSP compiler to recompile it, "touch" it to change the timestamp.
 
Arpit Gadle
Ranch Hand
Posts: 69
MySQL Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Peter, it worked.
 
reply
    Bookmark Topic Watch Topic
  • New Topic