URLEncoding is getting rid of the spaces and some special characters. 1.http://<domain>/<webapp-context>/hello.jsp?name=Sayeed Sami. 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 Sami
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.