Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Making tomcat know index.jsp has changed...

Andrew Davidoff

2004-02-03

Replies:

Hello All,

Here's another that I've researched but just can't figure out.

I want to change ROOT/index.jsp, however tomcat refuses to recognize
that it has changed unless I move the file ROOT/WEB-INF/web.xml out of
the way. I have tried moving all files named *index_jsp* and even
index.jsp itself totally out of the way, and somehow Tomcat still
"remembers" what the old index looked like until I move web.xml out of
the way. I removed the .class and .java files and it didn't help...so
I guess it's compiled away somewhere else?

Short and simple, if I make a change to index.jsp, how do I make Tomcat
5.0.16 recognize it? I have also tried using ?pre_compile and
restarting tomcat numerous times. Moving web.xml out of the way seems
like it's the wrong thing to do since nothing new is being created in
its place, but perhaps that's correct?

Thanks,
Andrew Davidoff


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.