----- Original Message -----
From: "David Smith" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, June 05, 2008 2:07 AM
Subject: Re: Relative internal links
Not to beat people over the head with the servlet spec, this citation from
servlet spec 2.4, SRV.4.5 hints at a possible case where a file system
might not be available:
"In situations where the servlet container cannot determine a valid file
path for
these methods, such as when the Web application is executed from an
archive, on
a remote file system not accessible locally, or in a database, these
methods must
return null."
I remember some discussion a looong time ago referencing a servlet
container inside of Oracle as a use case for getRealPath() returning null
since it wouldn't be backed by a real file system.
--David
Live and learn... I wondering what that Jetty Andriod cell phone thing will
do?
See other post ;)
I think that would probably be a null, or as chuck says, cant write to it
anyway.
... sometimes breaking the rules is fun ;)
I like getting at the custom logs in the browser as well... I'm bad ;)
It never ends... one day people will be saying, my webapp is cell phone
compatible, and it also works in the water bed ;)
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]