Jasper is the
JSP engine within
tomcat. For information on how to configure the engine follow this
link. If however you would like to know how the jasper engine works you can read through the javadocs
here. If, however you meant JSP rather than jasper look through the related javaranch forum and a wealth of information can be obtained.