Based on the reciprocity theorem, the reaction concept in electromagnetic theory is generalized to the cases where both surface electric and magnetic currents overlap across boundaries, i.e., neither the E-field, nor H-field meets the continuity conditions. An improved systematic method is then developed to obtain unrestricted variational expressions in a cavity resonator for which the tangential components of the trial fields can be discontinuous across its interior boundaries.