To prevent egg rolls from getting soggy, make sure the filling is not too wet by draining all of the excess moisture from the vegetables after cooking. Additionally, fry the egg rolls at the right temperature (350°F) and avoid overcrowding the fryer.