Skip to content

Commit 286280b

Browse files
author
Arun Gupta
committed
Better explanatory headers
1 parent f8807bc commit 286280b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cdi/beansxml-noversion/src/main/java/org/javaee7/cdi/beansxml/noversion/TestServlet.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ protected void processRequest(HttpServletRequest request, HttpServletResponse re
7373
out.println("<!DOCTYPE html>");
7474
out.println("<html>");
7575
out.println("<head>");
76-
out.println("<title>Servlet TestServlet</title>");
76+
out.println("<title>CDI scoped beans are injected</title>");
7777
out.println("</head>");
7878
out.println("<body>");
79-
out.println("<h1>Servlet TestServlet at " + request.getContextPath() + "</h1>");
79+
out.println("<h1>CDI scoped beans are injected</h1>");
8080
out.println(bean.sayHello("Duke"));
8181
out.println("</body>");
8282
out.println("</html>");

cdi/beansxml-noversion/src/main/webapp/index.jsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
<html>
4747
<head>
4848
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
49-
<title>beans.xml (no version) injection</title>
49+
<title>CDI : beans.xml with no version</title>
5050
</head>
5151
<body>
52-
<h1>beans.xml (no version) injection</h1>
52+
<h1>CDI : beans.xml with no version</h1>
5353
<a href="${pageContext.request.contextPath}/TestServlet"/>Inject the bean</a>.
5454
</body>
5555
</html>

0 commit comments

Comments
 (0)