if I have a string "output" that equals a url:

${output} = "/testing/method/thing.do?foo=testing&bar=foo"

in the jsp, how would I convert that string into:

%2Ftesting%2Fmethod%2Fthing.do%3Ffoo%3Dtesting%26bar%3Dfoo

using

<c:out value="${output}"/>

? I need to URLEncoder.encode(url) in the c:out somehow.

Edit
Report