To pass parameters through URL in a web application, is to append the parameters into the base URL.
eg, www.google.com?parameter1=value1¶meter2=value2¶meter3=value3.
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 "&"
eg, www.google.com?parameter1=value1&parameter2=value2&parameter3=value3.
Done!!
eg, www.google.com?parameter1=value1¶meter2=value2¶meter3=value3.
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 "&"
eg, www.google.com?parameter1=value1&parameter2=value2&parameter3=value3.
Done!!
No comments:
Post a Comment