  Using two approaches: dispersion relations and isobar model, we have analyzed
recent high precision CLAS data on cross sections of \pi^0, \pi^+, and \eta
electroproduction on protons, and the longitudinally polarized electron beam
asymmetry for p(\vec{e},e'p)\pi^0 and p(\vec{e},e'n)\pi^+. The contributions of
the resonances P33(1232), P11(1440), D13(1520), S11(1535) to \pi
electroproduction and S11(1535) to \eta electroproduction are found. The
results obtained in the two approaches are in good agreement with each other.
There is also good agreement between amplitudes of the \gamma^* N \to S11(1535)
transition found in \pi and \eta electroproduction. For the first time accurate
results are obtained for the longitudinal amplitudes of the P11(1440),
D13(1520) and S11(1535) electroexcitation on protons.
