A JavaServer Page (JSP) file is nothing more than another way to view a servlet. The concept of a JSP file is to allow us to see a Java servlet as an HTML page. This view eliminates all of the ugly
print() statements that normally show up in Java code. The JSP file is pre-processed into a
.java file, then compiled into a
.class. If you are using Tomcat, you can view your pre-processed
.java files in the
work directory. Other containers may store the
.java and
.class files elsewhere; the location is container specific.