For the better understanding of URL structural components meaning, we suggest you to consider the following usage example, that is a typical URL sample aimed at a web application creation:
http://user:password@localhost:9090/www.querix.com/directory/page.html
?par1=1¶m2=2#123"
Part |
Meaning |
Sample |
protocol |
used to communicate with a resource |
http |
login and password |
allows username and password indication inside an URL |
user:password/ |
host |
determines the server where the resource is located |
localhost |
path |
determines the definite resource on the server |
www.querix.com/directory/page.html |
query |
instructs the server to perform additional operation to identify the exact chunk of a resource that is desired |
par1=1 |