Skip to content

Commit ae9c39c

Browse files
author
Arun Gupta
committed
Fixed titles
1 parent bb8b239 commit ae9c39c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

json/streaming-generate/src/main/java/org/javaee7/json/streaming/generate/StreamingGeneratorServlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ protected void processRequest(HttpServletRequest request, HttpServletResponse re
7575
out.println("<title>Create JSON structures</title>");
7676
out.println("</head>");
7777
out.println("<body>");
78-
out.println("<h1>Servlet TestServlet at " + request.getContextPath() + "</h1>");
78+
out.println("<h1>Generate JSON using JsonGeneratorFactory</h1>");
7979
// JsonGeneratorFactory factory = Json.createGeneratorFactory(new JsonConfiguration().withPrettyPrinting());
8080
JsonGeneratorFactory factory = Json.createGeneratorFactory(null);
8181
// JsonGenerator gen = factory.createGenerator(System.out);

json/streaming-generate/src/main/webapp/index.jsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@
4747
<html>
4848
<head>
4949
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
50-
<title>JSON Streaming Generator</title>
50+
<title>JSON : Generate using JsonGeneratorFactory</title>
5151
</head>
5252
<body>
53-
<h1>JSON Streaming Generator</h1>
53+
<h1>JSON : Generate using JsonGeneratorFactory</h1>
5454

5555
Generate JSON using <a href="${pageContext.request.contextPath}/StreamingGeneratorServlet">streaming generator</a><br/>
5656
</body>

0 commit comments

Comments
 (0)