jsf - Escapse url GET parameters in URL with Java/ICEFaces -
I have Java with the JSF / ICEFaces app. I need to move the parameters from one page to another, so I Something similar:
& lt; F: param name = "eventName" value = "# {item.event_name}" />
and then get it into the constructor:
eventName = request.getParameter ("eventName");
While working properly, unless there is no '/' character in the given string, it is not properly parse. I believe I need to avoid% 2F from the '/' parameter and then parse it back.
Two things: 1- How to do it in iCafeases or JSF 2- Do I have to save any other parameters
& lt; H: OutputLink value = "http://google.com" & gt; Click & lt; F: Ultimate name = "eventName" value = "# {param.eventName}" /> & Lt; / H: outputLink & gt;
Works for me - Browser takes care of url-encoding.
Note that you can get the request parameters directly in your page, # {param.paramName}
Comments
Post a Comment