On Oct 17, 2011, at 6:08 PM, Christopher Schultz wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nathan,

On 10/17/2011 4:53 PM, Nathan Potter wrote:
On Oct 17, 2011, at 1:07 PM, Christopher Schultz wrote:

I'd be interested to see what else happened. It looks like
JspServlet is trying to compile the directory. The "file" (the
directory) *does* exist, so you don't get a
FileNotFoundException. This seems like an edge case that the
JspServlet wasn't designed to handle.

Exactly. It tries to open the resource (in the case a directory) as
a stream and that's when it errors into a JasperException .

No, it doesn't cause an error to open the stream: the stream comes
back null and Tomcat interprets that as an error: just not the one you
expected (JasperException instead of FileNotFoundException).



Well the pint I was making was that it wasn't the one that org.apache.jasper.servlet.JspServlet was expecting, thus causing the 500 response.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6c0XkACgkQ9CaO5/Lv0PD+fQCfWi3oonLEgvY9P/iD2hDJW7Fs
hKEAn1czpFZF2j7pwldKrz1bl8CcJBMG
=gRHl
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


= = =
Nathan Potter                        ndp at opendap.org
OPeNDAP, Inc.                        +1.541.231.3317





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to