View Resolvers with Spring Boot: Difference between revisions
(→JSP) |
(→JSP) |
||
Line 1: | Line 1: | ||
=JSP= | =JSP= | ||
JavaServer Pages (JSP) is a technology that helps software developers create dynamically generated web pages based on HTML, XML, or other document types. Released in 1999 by Sun Microsystems,[1] JSP is similar to PHP and ASP, but it uses the Java programming language. | |||
To deploy and run JavaServer Pages, a compatible web server with a servlet container, such as Apache Tomcat or Jetty, is required. | |||
<source lang="jsp"> | <source lang="jsp"> | ||
<!DOCTYPE html> | <!DOCTYPE html> |
Revision as of 20:24, 23 September 2019
JSP
JavaServer Pages (JSP) is a technology that helps software developers create dynamically generated web pages based on HTML, XML, or other document types. Released in 1999 by Sun Microsystems,[1] JSP is similar to PHP and ASP, but it uses the Java programming language.
To deploy and run JavaServer Pages, a compatible web server with a servlet container, such as Apache Tomcat or Jetty, is required. <source lang="jsp"> <!DOCTYPE html> <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> <html lang="en"> <body>
Spring Boot JSP Example
Hello ${message}
Click on this <a href="next">link</a> to visit another page.
</body> </html> </source>
Thymeleaf
Allow Backend and Frontend developers to communicate throug text inside HTML repalaced at the template rendering with the text contained in the "text" attribute <source lang="html">
Welcome to our grocery store, Sebastian Pepper!
</source>