You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chris Ward <cw...@go-integral.com> on 2001/02/02 19:01:53 UTC

JSP pages in webapps/ROOT will not 'recompile'

I am trying to run an application in ROOT, and have changed several JSP
pages to look at a different images directory, but none of them have
actually changed.

I noticed that there is no context for ROOT in server.xml, which is where I
thought that maybe the reloadable=false was set.

Any ideas?

Chris


Re: JSP pages in webapps/ROOT will not 'recompile'

Posted by Jan Labanowski <jk...@osc.edu>.
The /ROOT webapp is mounted as / context in tomcat.
So you can access it in Tomcat on port 8080, but cannot mount it in
Apache (or whatever), since you would be sending everything to Tomcat
as it would hold the root context.

You may want to look at my 
http://www.ccl.net/cca/software/UNIX/apache

namely at the RH7.0 from scratch installation log for Tomcat
and Alt/F in Netscape for /ROOT and rewrite and also look at example config
files there.
In short, I mounted it as /ROOT in server.xml, mounted it as /ROOT
in Apache, and then used rewrite module to get rid of relative links
producing /ROOT/ROOT references...



On Fri, 2 Feb 2001, Chris Ward wrote:

> I am trying to run an application in ROOT, and have changed several JSP
> pages to look at a different images directory, but none of them have
> actually changed.
> 
> I noticed that there is no context for ROOT in server.xml, which is where I
> thought that maybe the reloadable=false was set.
> 
> Any ideas?
> 
> Chris
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
> 

Jan K. Labanowski            |    phone: 614-292-9279,  FAX: 614-292-7168
Ohio Supercomputer Center    |    Internet: jkl@osc.edu 
1224 Kinnear Rd,             |    http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163      |    http://www.osc.edu/