OK no-one's answered so here's an idea. Not sure if this is right but maybe
if I get it wrong someone will correct me ;)
I think it's that, despite appearances, you are in fact running a
precompiled servlet class, which is installed by default, rather than a JSP
page via org.apache.jasper.servlet.JspServlet, because of the default
mappings in web.xml. Check webapps/ROOT/WEB-INF/web.xml:
<servlet>
<servlet-name>org.apache.jsp.index_jsp</servlet-name>
<servlet-class>org.apache.jsp.index_jsp</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>org.apache.jsp.index_jsp</servlet-name>
<url-pattern>/index.jsp</url-pattern>
</servlet-mapping>
What I think the above adds up to is that when you access "/index.jsp", you
run "index_jsp.class" directly, which is already installed under the
webapps/ROOT/WEB-INF/classes/org/apache/jsp directory (as well as under
webapps/ROOT/WEB-INF/lib/catalina-root.jar), and the fact that the extension
is "jsp" is in fact not relevant. I think the mapping above also overrides
the general mapping in conf/web.xml for JSP mapping/compilation, so that
this jsp won't compile even if you change the page, because TC does not see
it as a JSP. What I'm not sure about is why the JSP page is included at
all. Maybe this proves that I've got it completely wrong.... ;)
> -----Original Message-----
> From: Luc Vantroys [mailto:[EMAIL PROTECTED]
> Sent: Saturday 06 November 2004 17:52
> To: Tomcat Users List
> Subject: Index.jsp
>
>
> Hi,
>
> When I modify this file, I don't see the changes in the
> browser when I start
> Tomcat 5.0.28...
> but when I just launch that file from my hard drive, I see
> the changes. What
> do I need to do?
>
> Thanks,
>
> Luc.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]