We study the local minimizers of integral functionals first in the pre
sence of decomposable constraints and then in the presence of integral
constraints. When these are equipped with a suitable topology we prov
e that local minimizers are global minimizers, and that Fritz John con
ditions are necessary.