Skip to content

Commit 26ac456

Browse files
author
Arun Gupta
committed
Slightly more indicative titles
Adding NetBeans configuration files
1 parent 89a9f49 commit 26ac456

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

cdi/pkg-level/nb-configuration.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project-shared-configuration>
3+
<!--
4+
This file contains additional configuration written by modules in the NetBeans IDE.
5+
The configuration is intended to be shared among all the users of project and
6+
therefore it is assumed to be part of version control checkout.
7+
Without this configuration present, some functionality in the IDE may be limited or fail altogether.
8+
-->
9+
<properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
10+
<!--
11+
Properties that influence various parts of the IDE, especially code formatting and the like.
12+
You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
13+
That way multiple projects can share the same settings (useful for formatting rules for example).
14+
Any value defined here will override the pom.xml file value but is only applicable to the current project.
15+
-->
16+
<org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>gfv3ee6</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>
17+
</properties>
18+
</project-shared-configuration>

cdi/pkg-level/src/main/java/org/javaee7/cdi/pkg/level/TestServlet.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ protected void processRequest(HttpServletRequest request, HttpServletResponse re
7474
out.println("<!DOCTYPE html>");
7575
out.println("<html>");
7676
out.println("<head>");
77-
out.println("<title>Servlet TestServlet</title>");
77+
out.println("<title>Two implementations, one @Vetoed at package-level</title>");
7878
out.println("</head>");
7979
out.println("<body>");
80-
out.println("<h1>Servlet TestServlet at " + request.getContextPath() + "</h1>");
80+
out.println("<h1>Two implementations, one @Vetoed at package-level</h1>");
8181
out.println(greeting.greet("Duke"));
8282
out.println("</body>");
8383
out.println("</html>");

cdi/pkg-level/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>Package Level Annotations</title>
49+
<title>CDI Package Level Annotations</title>
5050
</head>
5151
<body>
52-
<h1>Package Level Annotations</h1>
52+
<h1>CDI Package Level Annotations</h1>
5353
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Greeting Service</a>.
5454
</body>
5555
</html>

0 commit comments

Comments
 (0)