Defining JSP

From Lunarpages Web Hosting Wiki

What are JSP/Servlets?

Servlets are programs written in Java that run in conjunction with a Servlet Runner. Unlike previous attempts to provide the same sort of functionality (such as NSAPI, ISAPI, etc.) Java Servlets run on most web servers with little or no modification.

Java Server Pages (JSP) is a scripting language that is a hybrid of Java and HTML. Much like ASP and PHP, it allows web designers to embed scripting code in their HTML pages. When a JSP page is hit for the first time, it gets compiled into a Java file. This Java file is then automatically compiled into a .class file and placed in your WEB-INF directory. Whenever you make changes to the JSP file then Resin automatically detects this and recompiles it.