Thanks for your responses.
I use urlrewritefilter and this tool can rewrite url when user access
the server, and when response is written.
For user access it is ok for me, but i wan't to dynamically rewrite
url in response. And not hardcoding urls in xsl.
I read urlrewritefilter rewrite url when response.encodeURL is called.
That's why I need access to this object in xsl file.
2009/10/9 Gary Weaver <
[hidden email]>:
> But he's not going to have access to the HttpServletResponse from within the
> XSL, will he? While he could use java.net.URLEncoder, I think he is saying
> that he wants to rewrite the URL, which is probably not something possible
> to be done within the XSL unless somehow it is available during the
> transformation? And it probably isn't a good place to be doing that if at
> all possible anyway?
>
> Gary
>
>
> Eric Dalquist wrote:
>>
>> Take a look at
http://xml.apache.org/xalan-j/extensions.html>>
>> If you're using Xalan for the XSLT engine you can call Java APIs from
>> within XSL.
>>
>> -Eric
>>
>> Leblanc Christophe wrote:
>>>
>>> hi,
>>>
>>> I wan't to rewrite url created in the portal. For this i wan't an
>>> access to encodeURL(String url) from HttpServletResponse.
>>>
>>> Is there any way to do this in the xsl file ?
>>>
>>> Thanks
>>>
>>> Christophe Leblanc
>>>
>>> --- You are currently subscribed to
[hidden email] as:
>>>
[hidden email]
>>> To unsubscribe, change settings or access archives, see
>>>
http://www.ja-sig.org/wiki/display/JSG/uportal-user>>>
>>>
>
>
> --- You are currently subscribed to
[hidden email] as:
>
[hidden email]
> To unsubscribe, change settings or access archives, see
>
http://www.ja-sig.org/wiki/display/JSG/uportal-user>
>
---
You are currently subscribed to
[hidden email] as:
[hidden email]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/uportal-user