A multilayer mat for dispensing an active agent through a body surface is disclosed. The mat comprises at least one membrane layer (20) and at least one carrier layer (21) containing the active agent. The at least one carrier layer (21) is formed by a solid nanofibrous layer made of at least one biocompatible, water-soluble polymer, said carrier layer containing the active agent in a solid state. The at least one membrane layer (20) is formed by a solid nanofibrous layer made of at least one biocompatible, water-insoluble polymer, said membrane layer being permeable for both moisture and a solution of the active agent. Each of the at least one carrier layer (21) and the at least one membrane layer (20) has a predefined thickness.