URLEncoding is getting rid of the spaces and some special characters.
if you do url encoding it would look like the following
1.http://<domain>/<webapp-context>/hello.jsp?name=Sayeed+Sami.or %2b will be used for spaces in the values of the parameters.
2.If we encode the url the container can use urlrewriting in case of teh client disabling the cookies.
Thr uri means after the web context
hello.jsp but not the parameters.
Correct me if Iam wrong
The difference between the three is subtle. An URL refers to a Web page, including the scheme, but without a name location. An URN may also include the location of a code fragment. An URI refers to a Web page including the location of the code fragment, if one exists, and the scheme.
Because Web servers allow for default documents and do not require a scheme to retrieve a document, the subtle difference between an URL and an URN and an URI is hard to tell. URL is now used as the generic term.