On Tue, 10 Feb 2004, Chris Daly wrote: > hi > > i've tested a new version of my jsp include file (a header which is > referenced by about 40 pages) on one jsp page, and its wokred ok. > i've changed the coding of the include page though none of the other > jsp pages have picked up the new include and are still looking to > teh old one ? i've stopped and started tomcat but its till not > changed. > > does anyone have any ideas ? i've included a couple of new tag > libraries but they are working ok and i cant see why it would be > anything other than tomcat ?
The problem is that the timestamps on the jsps in question have not changed, so Tomcat has no reason to recompile them (which is what is necessary for it to find the new included file). People have come up with two suggestions to help: 1. "touch" the jsps -- touch is a Unix command which updates the timestamp on a file. If you're not using Unix, perhaps your system has a similar command. 2. delete everything under Tomcat's work subdirectory -- that's where jsps are compiled (first into java source files and then into class files). These files are used as the baseline for the timestamp comparison, so if they don't exist, any jsp will be deemed new. Either of these should do the trick. The latter one may be the better way to go though. Many people routinely delete everything under the work directory as part of the Tomcat restart process. I believe these files are all automatically generated so it shouldn't hurt to delete them. Milt Epstein Research Programmer Integration and Software Engineering (ISE) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
