Just to add to what John said, a JSP is always converted to a
servlet, and the life cycle of a JSP includes page translation and compilation besides the init(), service(), destroy() methods of a servlet life cycle.
As far as the location of these compiled classes and .java files for the jsp, for
tomcat the compiled jsp's can be found under the <tomcat-home>\work\Catalina\localhost\<web-app>\