I don't think there is a s:outputLink, but this would be a good use case for 
it.  You should think about contributing a patch to for sandbox Andrew.  Ping 
me if you want help.

Dennis Byrne

>-----Original Message-----
>From: Andrew Robinson [mailto:[EMAIL PROTECTED]
>Sent: Sunday, March 19, 2006 01:52 PM
>To: 'MyFaces Discussion'
>Subject: Re: mailto outputLink with session id problem
>
>Probably not. I just had a similar issue. According to the servlet
>specification, a browser that doesn't have cookies enabled must have
>all encoded URLs appended with the session ID in ";JSESSIONID="
>fashion. According to the JSF specification, the encodeResourceURL is
>required to call the HttpServletRequest.encodeURL. This is the method
>that is required to append the JSESSIONID.
>
>In my solution, I had a custom component, so I just stopped calling
>"encodeResourceURL", but with outputLink, I know of no such solution
>without overriding it. Perhaps there is something in the servlet
>specification of some switch you can add to your web.xml to stop this
>feature. I'm not sure (I stopped looking when I found a workaround).
>
>Good luck,
>Andrew
>
>On 3/19/06, Matthias Kahlau <[EMAIL PROTECTED]> wrote:
>> Hi!
>>
>>
>> I use the standard outputLink action for a mailto link. The problem is that
>> JSF adds the session id to the mailto URL. Do you know if it's possible to
>> prevent this?
>>
>> Thanks.
>>
>> -Matthias
>>
>>
>>
>


Reply via email to