JSF calls java.net.URLEncoder.encode() method
- by Ron
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); %