tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Colic" <alex.co...@pop-ware.com>
Subject RE: Can't get precompiled JSP to be welcome page?
Date Fri, 26 Oct 2001 12:33:59 GMT
Ah,

Thanks for the info. I will try that.

Alex

********************************************8
Date: Thu, 25 Oct 2001 06:59:13 -0400
To: tomcat-user@jakarta.apache.org
From: Randy Layman <randy.layman@aswethink.com>
Subject: RE: Can't get precompiled JSP to be welcome page?
Message-ID: <A1C69E9A4D29D311AFE000A024CA0B0B1F6870@SNAX>

	The problem seems to be that Tomcat is scanning the file system for
the welcome pages, not including the servlet mappings.  What I do is create
a zero length file of the file name.  Tomcat will see this and redirect the
/ request to /whatever.jsp (the welcome file), which is then intercepted.
This fix only adds a few bytes (one file entry in the contents) to the
application and doesn't reveal anything about the internals that people
couldn't already easily figure out.

	Randy
Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message