Wednesday, July 30, 2014

How to pass parameters through URL in JSF

To pass parameters through URL in a web application, is to append the parameters into the base URL.


in JSF, it is nice to pass only 1 parameter through the URL.
When more than 1 parameter pass through the URL, an exception will happen.
Whenever "&" symbol appears in the URL, the exception will happen.

to resolve this problem, what we need to do is to encode the "&" symbol or manually append with the encoded value "&"



No comments:

Post a Comment


Related Posts Plugin for WordPress, Blogger...