3.2 Configuring a Snap
Prev | 3. Using Virgo Snaps in your application | Next

## 3.2 Configuring a Snap

A Snap is a normal WAB with the addition of two extra manifest headers. The first `Snap-Host` is used to resolve the WAB you want to act as a host for this Snap. The second `Snap-ContextPath` gives the path the snap will answer to. In order to reach the Snap a request must be made for the host's context path, plus any path in the host's Snaps filter followed by the path given with the `Snap-ContextPath` header.

    Snap-Host: org.eclipse.virgo.snaps.sample.animal;version="${version:[=.=.=, =.+1)}"
    Snap-ContextPath: /dog

Prev | Up | Next
3. Using Virgo Snaps in your application | Home | 3.3 Using the snaps taglibs