> -----Original Message-----
> From: Rapha�l Luta [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 06, 2000 7:33 PM
> 
> I believe request.getRealPath() is deprecated and replaced by 
> ServletContext.getRealPath() in servlet2.2.

ok, could be... not fully aware of all the servlet programming issues.

> The issue though is that the cache must be able to work stand-alone
> so can't access any request or Servlet specific information.

But we could wrap the ServletContext.getRealPath() in
EngineContext.getRealPath() that would then behave differently when
standalone? But how do I get access to ServletContext?

> See above for my comments. As an addition I'd say that 
> storing request 
> information is definitely *not* an option for a lot of reasons.

yep, I was expecting this ;-)

> If you want to fix this issue, use the following patch which disable
> the specific process of local URLs (until someone can think of
> a better way to do it) :

[patch skipped]

> Note: I won't commit this patch to the CVS so you'll have to 
> apply it yourself.
> 
> I'll put the bug in the TODO list.

Ok, thanks! I'd love to fix this, if I get some more ideas on how to do
this...

Neeme


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to