Skip to content

Commit a4dd516

Browse files
committed
Fix warning: Empty tag doesn't work in some browsers
1 parent 6deca13 commit a4dd516

File tree

32 files changed

+36
-36
lines changed

32 files changed

+36
-36
lines changed

cdi/built-in/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>CDI : Built-in Beans</h1>
53-
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Greeting Service</a>.
53+
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Greeting Service</a>.
5454
</body>
5555
</html>

cdi/exclude-filter/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>CDI : Exclude Filter</h1>
53-
<a href="${pageContext.request.contextPath}/TestServlet"/>Invoke</a> the bean.
53+
<a href="${pageContext.request.contextPath}/TestServlet">Invoke</a> the bean.
5454
</body>
5555
</html>

cdi/extension/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<h1>CDI Extension</h1>
5353
Check "server.log" for output with "CDI Extension Processing Annotation" string. The CDI extension (implemented in "extension-impl") prints all the annotations processed by CDI.
5454

55-
<br><br>Optionally invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Greeting</a>.
55+
<br><br>Optionally invoke the <a href="${pageContext.request.contextPath}/TestServlet">Greeting</a>.
5656

5757
</body>
5858
</html>

cdi/pkg-level/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>CDI : Package Level Annotations</h1>
53-
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Greeting Service</a>.
53+
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Greeting Service</a>.
5454
</body>
5555
</html>

cdi/scopes/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>CDI : Scopes</h1>
53-
Invoke the <a href="${pageContext.request.contextPath}/ClientServlet"/>Greeting</a>.
53+
Invoke the <a href="${pageContext.request.contextPath}/ClientServlet">Greeting</a>.
5454
</body>
5555
</html>

cdi/vetoed/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>CDI @Vetoed</h1>
53-
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Greeting Service</a>.
53+
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Greeting Service</a>.
5454
</body>
5555
</html>

ejb/lifecycle/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>EJB : Lifecycle Callbacks</h1>
53-
<a href="${pageContext.request.contextPath}/TestServlet"/>Call beans</a>.
53+
<a href="${pageContext.request.contextPath}/TestServlet">Call beans</a>.
5454
</body>
5555
</html>

ejb/singleton/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@
5151
<body>
5252
<h1>EJB : Singleton</h1>
5353

54-
<a href="${pageContext.request.contextPath}/TestServlet"/>Call bean</a>
54+
<a href="${pageContext.request.contextPath}/TestServlet">Call bean</a>
5555
</body>
5656
</html>

extra/quartz/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@
5151
</head>
5252
<body>
5353
<h1>Quartz Scheduler</h1>
54-
Trigger <a href="${pageContext.request.contextPath}/TestServlet"/>scheduler</a>
54+
Trigger <a href="${pageContext.request.contextPath}/TestServlet">scheduler</a>
5555
</body>
5656
</html>

javamail/definition/src/main/webapp/index.jsp

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@
5050
</head>
5151
<body>
5252
<h1>JavaMail Definition</h1>
53-
Make sure "<%= System.getProperty("user.home") %><%= System.getProperty("file.separator") %>.javamail" contains the following name/value pairs:<p/><p/>
53+
Make sure "<%= System.getProperty("user.home") %><%= System.getProperty("file.separator") %>.javamail" contains the following name/value pairs:<br/><br/>
5454
<ul>
5555
<li>from</li>
5656
<li>password</li>
5757
<li>to</li>
5858
</ul>
5959
Send an email from "username" to "to" using:
6060
<ol>
61-
<li><a href="${pageContext.request.contextPath}/ProgrammaticEmailServlet"/>Programmatic Session</a></li>
62-
<li><a href="${pageContext.request.contextPath}/AnnotatedEmailServlet"/>Declarative Session</a></li>
61+
<li><a href="${pageContext.request.contextPath}/ProgrammaticEmailServlet">Programmatic Session</a></li>
62+
<li><a href="${pageContext.request.contextPath}/AnnotatedEmailServlet">Declarative Session</a></li>
6363
</ol>
6464
</body>
6565
</html>

jaxrs/filter-interceptor/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>JAX-RS 2 Filter/Interceptor</h1>
53-
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Client</a> and check the server.log for filter output.
53+
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Client</a> and check the server.log for filter output.
5454
</body>
5555
</html>

jaxrs/interceptor/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>JAX-RS 2 Interceptor</h1>
53-
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Client</a> and check the server.log for interceptor output.
53+
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Client</a> and check the server.log for interceptor output.
5454
</body>
5555
</html>

jaxrs/invocation-async/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>JAX-RS 2 Client Invocation Async API</h1>
53-
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Client Invocation Async API</a>.
53+
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Client Invocation Async API</a>.
5454
</body>
5555
</html>

jaxrs/invocation/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>JAX-RS 2 Client Invocation API</h1>
53-
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Client Invocation API</a>.
53+
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Client Invocation API</a>.
5454
</body>
5555
</html>

jaxrs/jsonp/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>JSON-P using JAX-RS</h1>
53-
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>endpoint</a>.
53+
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">endpoint</a>.
5454
</body>
5555
</html>

jaxrs/link/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
</head>
1010
<body>
1111
<h1>JAX-RS 2 Links</h1>
12-
Invoke the <a href="/link/TestServlet"/>Client</a>.
12+
Invoke the <a href="/link/TestServlet">Client</a>.
1313
</body>
1414
</html>

jaxrs/moxy/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>JSON Binding in JAX-RS using Moxy</h1>
53-
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>endpoint</a>.
53+
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">endpoint</a>.
5454
</body>
5555
</html>

jaxrs/readerwriter-json/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>JAX-RS 2 Message Body Reader/Writer using JSON</h1>
53-
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Client</a> and check the server.log for output.
53+
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Client</a> and check the server.log for output.
5454
</body>
5555
</html>

jaxrs/request-binding/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>Request Binding</h1>
53-
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Client</a>.
53+
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Client</a>.
5454
</body>
5555
</html>

jaxrs/resource-validation/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>Resource Validation</h1>
53-
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Client</a>.
53+
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Client</a>.
5454
</body>
5555
</html>

jpa/jpa-converter/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<body>
5252
<h1>JPA 2.1 Converter</h1>
5353

54-
<a href="${pageContext.request.contextPath}/TestServlet"/>List & Add</a> employees.
54+
<a href="${pageContext.request.contextPath}/TestServlet">List & Add</a> employees.
5555

5656
</body>
5757
</html>

jpa/locking-pessimistic/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>JPA Pessimistic Locking</h1>
53-
<a href="${pageContext.request.contextPath}/TestServlet"/>CRUD entity</a>.
53+
<a href="${pageContext.request.contextPath}/TestServlet">CRUD entity</a>.
5454
</body>
5555
</html>

jpa/schema-gen-scripts/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<body>
5252
<h1>JPA 2.1 Schema Generation (using scripts)</h1>
5353

54-
<a href="${pageContext.request.contextPath}/TestServlet"/>List</a> employees.
54+
<a href="${pageContext.request.contextPath}/TestServlet">List</a> employees.
5555

5656
<br><br>
5757
If you see this page, that means database tables are created

jpa/unsynchronized-pc/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@
5151
<body>
5252
<h1>JPA 2.1 Unsynchronized Persistence Context</h1>
5353

54-
<a href="${pageContext.request.contextPath}/TestServlet"/>Add & List</a> employees.
54+
<a href="${pageContext.request.contextPath}/TestServlet">Add & List</a> employees.
5555
</body>
5656
</html>

servlet/async-servlet/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>Servlet : Filters</h1>
53-
Invoke the <a href="${pageContext.request.contextPath}/MyAsyncServlet"/>Async Servlet</a>.
53+
Invoke the <a href="${pageContext.request.contextPath}/MyAsyncServlet">Async Servlet</a>.
5454
</body>
5555
</html>

servlet/event-listeners/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>Servlet : Event Listeners</h1>
53-
Call the <a href="${pageContext.request.contextPath}/TestServlet"/>servlet</a> to set/update/remove attributes.
53+
Call the <a href="${pageContext.request.contextPath}/TestServlet">servlet</a> to set/update/remove attributes.
5454
</body>
5555
</html>

servlet/metadata-complete/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
</head>
5151
<body>
5252
<h1>Servlet : Metadata Complete</h1>
53-
Call the <a href="${pageContext.request.contextPath}/TestServlet"/>servlet</a>. <br><br>@WebServlet is ignored, instead the servlet-mapping from "web.xml" is used.
53+
Call the <a href="${pageContext.request.contextPath}/TestServlet">servlet</a>. <br><br>@WebServlet is ignored, instead the servlet-mapping from "web.xml" is used.
5454
</body>
5555
</html>

servlet/security-form-based/src/main/webapp/loginform.jsp

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
<h1>Form-Based Login Page</h1>
5454

5555
<form method="POST" action="j_security_check">
56-
Username: <input type="text" name="j_username"> <p/>
57-
Password: <input type="password" name="j_password" autocomplete="off"> <p/>
56+
Username: <input type="text" name="j_username"> <br/>
57+
Password: <input type="password" name="j_password" autocomplete="off"> <br/>
5858
<input type="submit" value="Submit" name="submitButton">
5959
<input type="reset" value="Reset">
6060
</form>

servlet/simple-servlet/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
</head>
1010
<body>
1111
<h1>Simple Servlet</h1>
12-
Call the <a href="${pageContext.request.contextPath}/SimpleServlet"/>servlet</a>.
12+
Call the <a href="${pageContext.request.contextPath}/SimpleServlet">servlet</a>.
1313
</body>
1414
</html>

websocket/endpoint-security/src/main/webapp/index.jsp

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
<input id="myField" value="WebSocket" type="text"><br>
5858
</form>
5959
</div>
60-
<p/>If you see this page that means you've entered the username/password
61-
credentials correctly. Make sure to create the user by giving the command.<p/><p/>
60+
<p>If you see this page that means you've entered the username/password
61+
credentials correctly. Make sure to create the user by giving the command.</p><br/>
6262
Make sure to create a user:<br><br>
6363

6464
For WildFly: Invoke "./bin/add-user.sh -a -u u1 -p p1 -g g1"<br>

websocket/httpsession/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<input id="myField" value="WebSocket" type="text"><br>
5858
</form>
5959
</div>
60-
<p/>Look for HttpSession id and creation time in server.log.
60+
<p>Look for HttpSession id and creation time in server.log.</p>
6161
<div id="output"></div>
6262
<script language="javascript" type="text/javascript" src="websocket.js">
6363
</script>

websocket/messagesize/src/main/webapp/index.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<input id="myField2" value="123456" type="text"><br>
6464
</form>
6565
</div>
66-
<p/>Connection is closed if more than 6 characters are sent.<p/>
66+
<p>Connection is closed if more than 6 characters are sent.</p>
6767
<div id="output"></div>
6868
<script language="javascript" type="text/javascript" src="websocket.js">
6969
</script>

0 commit comments

Comments
 (0)