The ROOT web.xml contains the following lines which essentially renders the content of
index.jsp
meaningless:
<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>
Mike
--- QM <[EMAIL PROTECTED]> wrote:
> On Tue, Jun 22, 2004 at 12:44:06PM -0700, Mike Duffy wrote:
> : Good suggestion. If the JSP is precompiled shouldn't I be able to go to the work
> directory
> and
> : see index_jsp.class somewhere under a ROOT directory (like there is for other
> webapps)? I
> guess
> : one of my basic questions is that why don't I see a ROOT directory in the work
> directory?
>
> You tell me -- how did you precompile?
>
> If you're placing classes directly in the "/work" dir, then, yes;
> if you're building class files and updating web.xml, then, no.
>
> The former method of precompilation is Tomcat-specific and accounts for
> a JSP being updated. The latter is for production deployments, in which
> case the JSPs should not change throughout the release lifetime.
>
>
> The root context may be under "/work/_" in TC5, but don't quote me on
> that.
>
> -QM
>
>
> --
>
> software -- http://www.brandxdev.net
> tech news -- http://www.RoarNetworX.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]