#Advanced Java JSP Tutorial | #adv java | JSP API | What is API |
A set of functions and procedures that allow the creation of applications which access the features or data of an operating system, application, or other service.
An application programming interface (API) is a set of routines, protocols, and tools for building software applications as per the requierment of developer.
Basically, an API specifies how software components should interact.
Additionally, APIs are used when programming graphical user interface (GUI) components
JSP specification gives API having set of rules and guidelines to develope JSP Container.
JSP API Means: working with follwing packages
Jsp container represent in tomcat server under .jar called : jasper.jar
C:Program FilesApache Software FoundationTomcat 9.0libjasper.jar
jasper.jar—–orgapachejaspercompiler – Compiler.class
– In jasper.jar file org.apache.jasper.JspC (JSP compiler) represents JSP page compiler that gives JSP equivalent Serlvet Program.
– JSP API is present in tomcat server under “jsp-api.jar”
– In Tomcat server, the JSP container name is “jasper”
– In Tomcat server, the servlet container name is “catalina”