The rings are nonzero integral domains. Let be the generic point of , corresponding to . Surjectivity provides a prime ideal with . Since , the ring homomorphism is injective.
Put and . The scheme-theoretic fibre at is
Every element of is nonzero, so the localization is a nonzero integral domain. Its zero ideal is prime, ensuring that its spectrum is nonempty; an affine spectrum of an integral domain is an integral scheme. This proves the integrality of the generic fibre of an affine dominant morphism. In fact the proof only needs injectivity of , rather than surjectivity at every point.