Full stack developer, Learn JavaServer Page the easy way!
Introduction to JSP
JSP Environment Setup
Getting familiar with JSP
First JSP
Implicit objects, scripting and standard actions!
Directives and sessions
Database connectivity
Forms Processing
Jakarta Server Pages (JSP; formerly JavaServer Pages) is a collection of technologies that helps software developers create dynamically generated web pages based on HTML, XML, SOAP, or other document types. Released in 1999 by Sun Microsystems,[1] JSP is similar to PHP and ASP, but uses the Java programming language.
To deploy and run Jakarta Server Pages, a compatible web server with a servlet container, such as Apache Tomcat or Jetty, is required.
Architecturally, JSP may be viewed as a high-level abstraction of Java servlets. JSPs are translated into servlets at runtime, therefore JSP is a Servlet; each JSP servlet is cached and re-used until the original JSP is modified.
Jakarta Server Pages can be used independently or as the view component of a server-side model–view–controller design, normally with JavaBeans as the model and Java servlets (or a framework such as Apache Struts) as the controller. This is a type of Model 2 architecture.
JSP allows Java code and certain predefined actions to be interleaved with static web markup content, such as HTML. The resulting page is compiled and executed on the server to deliver a document. The compiled pages, as well as any dependent Java libraries, contain Java bytecode rather than machine code. Like any other .jar or Java program, code must be executed within a Java virtual machine (JVM) that interacts with the server’s host operating system to provide an abstract, platform-neutral environment.
JSPs are usually used to deliver HTML and XML documents, but through the use of OutputStream, they can deliver other types of data as well.
The Web container creates JSP implicit objects like request, response, session, application, config, page, pageContext, out and exception. JSP Engine creates these objects during translation phase.
English
Language
JSP
Introduction to JSP
JSP Environment Setup – 1
JSP Environment Setup – 2
Getting familiar with JSP
Your First JSP
Implicit objects
Scripting
Standard Actions – 1
Standard Actions – 2
Standard Actions – 3
Directives – 1
Directives – 2
Sessions – 1
Sessions – 2
Databae Connectivity – 1
Databae Connectivity – 2
Forms Processing – 1
Forms Processing – 2
The post JSP – Java Full Stack first appeared on StudyBullet.