I think it's fair to folow the specs
urls that don't start with a / are relative



-----Original Message-----
From:   [EMAIL PROTECTED] on behalf of Pierre van Rooden
Sent:   Mon 1/19/2004 8:34 AM
To:     [EMAIL PROTECTED]
Cc:     
Subject:        Re: Jumpers / applications contexts
Michiel Meeuwissen wrote:
> Michiel Meeuwissen <[EMAIL PROTECTED]> wrote:
> 
>>I would propose to replace
>>  res.sentRedirect(url);      
>>with something like this
>>  res.sendRedirect(res.encodeRedirectURL(req.getContextPath() + url));
>>In JumpersFilter.java
> 
> Are we to do this?

I would say yes. Imo it's a bug that the server does not take contexts 
into account.

>>I would now propose to switch on the jumper filter in the example
web.xml.
>>The MyYahoo example will completely work out-of-the-box then.
> 
> 
> And this?

Hmmm. Doesn't this still give issues in Orion? If not, I don't mind 
switching it on, but otherwise I would advise against it.
Also if we do this, we should perhaps concider moving the 'jumpers' 
builder to resources.

-- 
Pierre van Rooden
Mediapark, C 107 tel. +31 (0)35 6772815
"Never summon anything bigger than your head."





<<winmail.dat>>

Reply via email to