aspose file tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Another Problem.Changes in included/linked files are not updated?
 
Similar Threads
Tomcat Server problems
how to save-as with linked documents
updating of ResourceBundle not showing
Workin with ROOT
What phase is it?