The dorsal root ganglia is in the :