Why not try to continue if getRealPath() returns null? The Servlet 2.2 spec
allows containers to return null if they feel like it. (Haven't checked
this in 2.3).
That is, how about something more forgiving like this instead:
try {
// see if file exists on the filesystem
Pierre Delisle is wondering:
-
Bug #55
-
Synopsis:
Default for included files is 8859_1, with no option to
set otherwise.
[SNIP]
I'm not sure I fully understand what's described there,
so here is what I believe should be done.
The "encoding" for a JSP file