# PathMap Dictionary Configuration

> Most of Jetty's configuration uses the com.mortbay.HTTP.PathMap class. PathMap is an implementation of Dictionary that uses a best match of a path suffix and prefix to select an Object from the dictionary. Thus an understanding of PathMap is required to configure Jeeves. PathMap will always return the longest matching path prefix that it contains. Paths may be matched exactly, as an arbitrary prefix or as a path prefix.

> Path Prefix | Match Examples | Miss Examples
> --- | --- | ---
> /aaa/bbb | /aaa/bbb /aaa/bbb/ /aaa/bbb/ccc /aaa/bbbbbb | /aaa /aaa/ccc
> /aaa/bbb% | /aaa/bbb /aaa/bbb/ /aaa/bbb/ccc | /aaa /aaa/ccc /aaa/bbbbbb
> /aaa/bbb/ | /aaa/bbb/ /aaa/bbb/ccc | /aaa /aaa/bbb /aaa/bbbbbb /aaa/ccc
> /aaa/bbb| | /aaa/bbb /aaa/bbb/ | /aaa /aaa/ccc /aaa/bbb/ccc /aaa/bbbbbb
> /aaa/bbb$ | /aaa/bbb | /aaa /aaa/ccc /aaa/bbb/ /aaa/bbb/ccc /aaa/bbbbbb
> *.xxx | .xxx xxx.xxx | .xxxx xxxx.xxxx .xx xx.xx
> /yyy/*.zzz | /yyy/.zzz /yyy/xxx.zzz | .zzz /aaa/xxx.zzz /yyy/xxx.zzzz