• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Some Basic Queries

 
Srinivasan Madhavan
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can anyone help on the difference between URL Encoding and URL Encrypting? Also I am unable to difference between URI and URL.

Thanks,
Srini
 
Sami Sayeed
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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
 
Vishnu Munnangi
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Eveyone,

I am not able to understand the differnce between URI and URL.

Can any one please explain the difference.

Thanks in Advance.
 
Francois Roland
Ranch Hand
Posts: 34
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is what I found about your question on http://www.pierobon.org/iis/url.htm:

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.
URL http://www.gleaners.org/faq.html
URN www.gleaners.org/faq.html#Q04
URI http://www.gleaners.org/faq.html#Q04

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.
 
Vishnu Munnangi
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Francois for the reply. And now I understand the basic difference between URL, URN and URI.

Thanks
Vishnu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic