I am not specifically experienced in electrospinning, but for making dispersions. First, dispersions are not solutions, so something like a "dispersed solution" does not exist.
I assume, for electrospinning, one needs to use highly concentrated dispersions.
I suggest to begin trying with a polymer you want to use as matrix, dissolve it in the solvent which is best for this polymer, then add aniline and acid (try to dissolve in the same solvent, or take DMSO), mix / dissolve, then slowly add oxidant APS. The disadvantage is, you can not remove the salt by-products.
Another approach would be to polymerize Aniline in pTSA / water solution (at low temperature), isolate the precipitate, filter, wash it carefully with water, dry and disperse in DMSO using ultrasound. Then add the polymer you want to use as matrix.
Please allow me to repeat and explain: there is no such thing like a "dispersed solution", as dispersions and solutions are opposites; you don't have a "white black colour", or a "cold hot water", it's either black or white, either cold or hot.
Why are dispersions and solutions opposites? because (thermodynamically spoken) solutions are equilbrium systems, dispersions are non-equilibrium systems (which does not mean they are unstable! only, they are in a local free energy valley on very high energy levels, far above equilibrium energy level.
See this paper: Article Critical Shear Rate - the Instability Reason for the Creatio...
I will use this method : "Aniline in pTSA / water solution (at low temperature), isolate the precipitate, filter, wash it carefully with water, dry and disperse in DMSO using ultrasound "