Jakarta Servlet: Difference between revisions

Content deleted Content added
typo
Introduction: Updated current java servlet version (note: citation shows status as 'active').
Line 20:
Servlets can be generated automatically from [[JavaServer Pages]] (JSP) by the [[JavaServer Pages compiler]]. The difference between servlets and JSP is that servlets typically embed HTML inside Java code, while JSPs embed Java code in HTML. While the direct usage of servlets to generate HTML (as shown in the example below) has become rare, the higher level MVC web framework in Java EE ([[JavaServer Faces|JSF]]) still explicitly uses the servlet technology for the low level request/response handling via the {{Javadoc:EE|javax/faces/webapp|FacesServlet}}. A somewhat older usage is to use servlets in conjunction with JSPs in a pattern called "[[JSP model 2 architecture|Model 2]]", which is a flavor of the [[model–view–controller]].
 
The current version of Servlet is 34.10<ref>https://www.jcp.org/en/jsr/detail?id=369</ref>.
 
== History ==