• 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

Another Problem.Changes in included/linked files are not updated?

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm really confused about this problem.
I have a main (index.jsp) page. It contains links to other JSP pages. If i make a change in one of these linked pages and save the files, when i reload the index.jsp page, the changes in the linked files are not updated. The only way they get updated is if i make a dummy change in the index.jsp page and save it and then reload the index.jsp page. It's weird because sometimes this doesn't even resolve the problem.
Any answers, ideas would be appreciated.
Thanks
Rui
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
in tomcat, there is a JSPC.BAT utility which calls the TOMCAT.BAT file.
It will recompile all JSP files for you.
You can also get the same effect by deleting the servlet "class" file that belongs to the JSP.....
it's in the work directory.
 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
let suppose I have a nav.jsp and a index.jsp.
1. use: <%@ include file="nav.jsp" %>, if i only change the nav.jsp without changin the index, the changes will not show.
2. use <jsp:include page="nav.jsp" />instead, this way any changes will be reflected.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic