JPS pages are high level extension of servlet and it enable the developers to embed java code in html pages. JSP files are finally compiled into a servlet by the JSP engine. Compiled servlet is used by the engine to serve the requests. Java Server Pages (JSP) provide a facility whereby you can write sever-side scripted pages using the full power of the Java programming language and the rich set of class libraries associated with Java.