Merge pull request #8125 from eugenp/revert-8119-BAEL-3275-2

Revert "BAEL-3275: Using blocking queue for pub-sub"
This commit is contained in:
Eric Martin
2019-10-31 20:43:47 -05:00
committed by GitHub
parent db85c8f275
commit 3225470df5
20543 changed files with 1642750 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<@content for="title">Articles</@content>
<table>
<tr>
<td>Title</td>
<td>Author</td>
<td>Words #</td>
<td>Date Published</td>
</tr>
<#list articles as article>
<tr>
<td>${article.title}</td>
<td>${article.author}</td>
<td>${article.words}</td>
<td>${article.date}</td>
</tr>
</#list>
</table>
+17
View File
@@ -0,0 +1,17 @@
<@content for="title">Search</@content>
<table>
<tr>
<td>Title</td>
<td>Author</td>
<td>Words #</td>
<td>Date Published</td>
</tr>
<tr>
<td>${article.title}</td>
<td>${article.author}</td>
<td>${article.words}</td>
<td>${article.date}</td>
</tr>
</table>
+3
View File
@@ -0,0 +1,3 @@
<@content for="title">Simple Web App</@content>
<h2>Application error</h2>
+3
View File
@@ -0,0 +1,3 @@
<@content for="title">Simple Web App</@content>
<h2>Baeldung ActiveWeb Demo Application</h2>
@@ -0,0 +1,16 @@
<#setting url_escaping_charset='ISO-8859-1'>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
<div class="main">
<#include "header.ftl" >
<div class="content">
${page_content}
</div>
<#include "footer.ftl" >
</div>
</body>
</html>
@@ -0,0 +1,3 @@
<div class='footer'>
<p>2018 Baeldung. No Rights Reserved.</p>
</div>
@@ -0,0 +1,4 @@
<div class="header">
<h1><a href="${context_path}">Baeldung ActiveWeb Demo</a></h1>
</div>
@@ -0,0 +1 @@
,
@@ -0,0 +1,4 @@
{
"id" : ${product.id},
"name" : "${product.name}"
}
@@ -0,0 +1 @@
[<@render partial="product" collection=products spacer="comma"/>]
@@ -0,0 +1,4 @@
{
"message" : "${message}",
"code" : ${code}
}
+29
View File
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<filter>
<filter-name>dispatcher</filter-name>
<filter-class>org.javalite.activeweb.RequestDispatcher</filter-class>
<init-param>
<param-name>root_controller</param-name>
<param-value>home</param-value>
</init-param>
<init-param>
<param-name>exclusions</param-name>
<param-value>css,images,js,ico</param-value>
</init-param>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>dispatcher</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app>