JSF calls java.net.URLEncoder.encode() method

Posted by Ron on Stack Overflow See other posts from Stack Overflow or by Ron
Published on 2010-04-16T17:27:39Z Indexed on 2010/04/16 17:33 UTC
Read the original article Hit count: 210

Filed under:

Is there a way to call java method in .xhtml?

I just want to be able to call java.net.URLEncoder.encode() method from xhtml file.

Is it possible to do this?

In jsp it was very easy to do <% String encodedURL = java.net.URLEncoder.encode(url, type); %>

© Stack Overflow or respective owner

Related posts about jsf