Path-based URLs can be either context root URLs, or a combination of context root and directory paths. Path-based URLS start with the same domain name, and are identified with a / (forward slash).

In the following example, all sites are based off the www.allcolors.com domain:

www.allcolors.com/color/primary/yellow
www.allcolors.com/color/yellow
www.allcolors.com/yellow

www.allcolors.com/colors/yellow
www.allcolors.com/colors/blue
www.allcolors.com/colors/green

Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. Legal Notices