Previous | Next | Trail Map | Beyond the Basics | Contents

URLs

A Uniform Resource Locators (URLs) is a string that specifies the location of a resource on the World Wide Web. The specification of a URL's syntax and semantics are described in RFC 1738. In summary, a URL's syntax is:
scheme : scheme-specific-parts
where scheme identifies the URL's type. For example, the following is a URL for the ldap scheme:
ldap://localhost:389/cn=Ted Geisel, ou=People, o=JNDITutorial

URL strings are used in several places in the JNDI. Their usage can be categorized into two groups: as names, and as address data. They are used as names in the following ways:

They are used as address data in the following ways: This lesson describes these uses of URL strings in the JNDI. See the Referral (in the Tips for LDAP Users trail) lesson for descriptions and examples of how URL strings are used as LDAP referrals.


Previous | Next | Trail Map | Beyond the Basics | Contents