alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Jetty example source code file (index.jsp)

This example Jetty source code file (index.jsp) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Jetty tags/keywords

doctype, doctype, example, example, public, transitional//en, transitional//en, w3c//dtd, web-inf/tags, xhtml, xhtml

The Jetty index.jsp source code

<%@ taglib prefix="c" uri="/WEB-INF/tlds/c.tld" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Loop Example
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
<body>
<h1>Even numbers from 1 to 100:
<c:forEach var="i" begin="1" end="100">
  <c:if test="${i % 2 == 0}">
    ${i}
  </c:if>
</c:forEach>
<tags:a/>
<%= "testProperty=" + System.getProperty("testProperty") %>
</body>
</html>

Other Jetty examples (source code examples)

Here is a short list of links related to this Jetty index.jsp source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.