Actually, that is not completely true in a criminal case. In a civil case, discovery applies to both sides - in a criminal case, the defense is not required to reveal anything to the prosecution, but the prosecution must reveal everything to the defense. There may be some exceptions to the rule, such as in the case of scientific test results (to allow opposing experts to examine them), but that kind of depends upon the state.
Oh, yeah. Been a while. Forgot.