| 1 |
<%@ page import="java.time.format.DateTimeFormatter" %> |
| 2 |
<%@ page import="java.time.LocalDate" %> |
| 3 |
<%@ page contentType="text/html; charset=UTF-8" %> |
| 4 |
<!DOCTYPE html> |
| 5 |
<html> |
| 6 |
<head> |
| 7 |
<link rel="stylesheet" href="demo.css"/> |
| 8 |
</head> |
| 9 |
<body> |
| 10 |
|
| 11 |
<div class="topnav"> |
| 12 |
<a class="menu" href="http://localhost:8080/">Demo Home</a> |
| 13 |
<a class="menu" href="https://github.com/jetty/jetty.project/tree/jetty-12.0.x/jetty-ee9/jetty-ee9-demos/jetty-ee9-demo-jsp-webapp/">Source</a> |
| 14 |
<a class="menu" href="https://jetty.org/">Jetty Project Home</a> |
| 15 |
<a class="menu" href="https://jetty.org/docs/">Documentation</a> |
| 16 |
<a class="menu" href="https://webtide.com">Commercial Support</a> |
| 17 |
</div> |
| 18 |
|
| 19 |
<div class="content"> |
| 20 |
<center> |
| 21 |
<span style="color:red; font-style:italic; font-weight:bold">Demo Web Application Only - Do NOT Deploy in Production</span> |
| 22 |
</center> |
| 23 |
<h1>Eclipse Jetty JSP Demo Webapp</h1> |
| 24 |
<p> |
| 25 |
This is a demo webapp for the <a href="https://jetty.org/">Eclipse Jetty HTTP Server and Servlet Container</a>. It was added into your <code>$JETTY_BASE/webapps</code> directory. |
| 26 |
</p> |
| 27 |
|
| 28 |
<h2>JSP Examples on <%= DateTimeFormatter.ofPattern("d MMMM yyyy").format(LocalDate.now()) %></h2> |
| 29 |
<ul> |
| 30 |
<li><a href="dump.jsp">JSP with Embedded Java</a><br/> |
| 31 |
<li><a href="bean1.jsp">JSP with Beans</a><br/> |
| 32 |
<li><a href="tag.jsp">JSP with BodyTag</a><br/> |
| 33 |
<li><a href="tag2.jsp">JSP with SimpleTag</a><br/> |
| 34 |
<li><a href="tagfile.jsp">JSP with Tag File</a><br/> |
| 35 |
<li><a href="expr.jsp?A=1">JSP with Tag Expression</a><br/> |
| 36 |
<li><a href="jstl.jsp">JSTL Expression</a><br/> |
| 37 |
<li><a href="foo/">Mapping to <jsp-file></a><br/> |
| 38 |
</ul> |
| 39 |
</div> |
| 40 |
|
| 41 |
<div class="footer"> |
| 42 |
<center><a href="https://jetty.org"><img style="border:0" src="small_powered_by.gif"/></a></center> |
| 43 |
</div> |
| 44 |
</body> |
| 45 |
</html> |