INFO 6250 Lecture Notes - Lecture 4: List Of Http Status Codes, Java Servlet, List Of Http Header Fields
Document Summary
Jsp is a specification to create dynamic web pages based on the servlet specifications. Separates the graphical design from the dynamic content. Jsp is an extension of the servlet technology, and it is a common practice to use both servlets and jsp pages in the same web application (mvc). Servlet technology may be efficient, scalable, platform independent, and buzzword compliant but it is far from practical when building web applications. Servlets become too inflexible to survive in the dynamic environment of a web application when used in generating the user interface. Jsp is a way to counter the shortcomings of servlets. Set http status codes and response headers. Jsp scripting elements with their syntax: expressions: We use java expressions for getting output variables of an executable java code: scriptlets: We use scriptlets for writing the java code: declarations: