*
The moose likes Servlets and the fly likes Another Problem.Changes in included/linked files are not updated? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Another Problem.Changes in included/linked files are not updated?" Watch "Another Problem.Changes in included/linked files are not updated?" New topic
Author

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

Rui Ferns
Greenhorn

Joined: May 06, 2001
Posts: 24
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
Mark Simms
Ranch Hand

Joined: Jul 20, 2000
Posts: 36
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.

Mark
Cynthia Yao
Ranch Hand

Joined: Nov 06, 2000
Posts: 92
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Another Problem.Changes in included/linked files are not updated?
 
Similar Threads
What phase is it?
Tomcat Server problems
Workin with ROOT
updating of ResourceBundle not showing
how to save-as with linked documents