  We characterize geodesic flows, admitting two commuting quadratic integrals
with common principal directions, in terms of the geodesic 4-webs such that the
tangents to the web leaves are common zero directions of the integrals. We
prove that, under some natural geometric hypothesis, the metric is of St\"ackel
type.
