On Thursday, June 19, 2003, at 12:39 PM, Attila Szegedi wrote:


From what I know, and
it's very limited, that wasn't the case - I've had discussions with
Craig about this issue, and he raised the need to go find a file as a
problem when dealing with containers that don't unpack. Again, this is
just my impression - I don't know for sure.

Well, whoever writes a web application is heading for trouble if he accesses
webapp-packaged resources through anything else than
ServletContext.getResource[AsStream](...). ServletContext.getRealPath() is a
horrible hack that should have never existed, IMHO.

Yes - using getResourceAsStream() was my understanding as well. (And agreed on getRealPath())


geir

--
Geir Magnusson Jr                                   203-956-2604(w)
Adeptra, Inc.                                       203-434-2093(m)
[EMAIL PROTECTED]                                   203-247-1713(m)


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to