Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warning: Empty tag doesn't work in some browsers #338

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cdi/built-in/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>CDI : Built-in Beans</h1>
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Greeting Service</a>.
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Greeting Service</a>.
</body>
</html>
2 changes: 1 addition & 1 deletion cdi/exclude-filter/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>CDI : Exclude Filter</h1>
<a href="${pageContext.request.contextPath}/TestServlet"/>Invoke</a> the bean.
<a href="${pageContext.request.contextPath}/TestServlet">Invoke</a> the bean.
</body>
</html>
2 changes: 1 addition & 1 deletion cdi/extension/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<h1>CDI Extension</h1>
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.

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

</body>
</html>
2 changes: 1 addition & 1 deletion cdi/pkg-level/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>CDI : Package Level Annotations</h1>
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Greeting Service</a>.
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Greeting Service</a>.
</body>
</html>
2 changes: 1 addition & 1 deletion cdi/scopes/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>CDI : Scopes</h1>
Invoke the <a href="${pageContext.request.contextPath}/ClientServlet"/>Greeting</a>.
Invoke the <a href="${pageContext.request.contextPath}/ClientServlet">Greeting</a>.
</body>
</html>
2 changes: 1 addition & 1 deletion cdi/vetoed/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>CDI @Vetoed</h1>
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Greeting Service</a>.
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Greeting Service</a>.
</body>
</html>
2 changes: 1 addition & 1 deletion ejb/lifecycle/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>EJB : Lifecycle Callbacks</h1>
<a href="${pageContext.request.contextPath}/TestServlet"/>Call beans</a>.
<a href="${pageContext.request.contextPath}/TestServlet">Call beans</a>.
</body>
</html>
2 changes: 1 addition & 1 deletion ejb/singleton/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
<body>
<h1>EJB : Singleton</h1>

<a href="${pageContext.request.contextPath}/TestServlet"/>Call bean</a>
<a href="${pageContext.request.contextPath}/TestServlet">Call bean</a>
</body>
</html>
2 changes: 1 addition & 1 deletion extra/quartz/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
</head>
<body>
<h1>Quartz Scheduler</h1>
Trigger <a href="${pageContext.request.contextPath}/TestServlet"/>scheduler</a>
Trigger <a href="${pageContext.request.contextPath}/TestServlet">scheduler</a>
</body>
</html>
6 changes: 3 additions & 3 deletions javamail/definition/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@
</head>
<body>
<h1>JavaMail Definition</h1>
Make sure "<%= System.getProperty("user.home") %><%= System.getProperty("file.separator") %>.javamail" contains the following name/value pairs:<p/><p/>
Make sure "<%= System.getProperty("user.home") %><%= System.getProperty("file.separator") %>.javamail" contains the following name/value pairs:<br/><br/>
<ul>
<li>from</li>
<li>password</li>
<li>to</li>
</ul>
Send an email from "username" to "to" using:
<ol>
<li><a href="${pageContext.request.contextPath}/ProgrammaticEmailServlet"/>Programmatic Session</a></li>
<li><a href="${pageContext.request.contextPath}/AnnotatedEmailServlet"/>Declarative Session</a></li>
<li><a href="${pageContext.request.contextPath}/ProgrammaticEmailServlet">Programmatic Session</a></li>
<li><a href="${pageContext.request.contextPath}/AnnotatedEmailServlet">Declarative Session</a></li>
</ol>
</body>
</html>
2 changes: 1 addition & 1 deletion jaxrs/filter-interceptor/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>JAX-RS 2 Filter/Interceptor</h1>
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Client</a> and check the server.log for filter output.
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Client</a> and check the server.log for filter output.
</body>
</html>
2 changes: 1 addition & 1 deletion jaxrs/interceptor/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>JAX-RS 2 Interceptor</h1>
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Client</a> and check the server.log for interceptor output.
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Client</a> and check the server.log for interceptor output.
</body>
</html>
2 changes: 1 addition & 1 deletion jaxrs/invocation-async/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>JAX-RS 2 Client Invocation Async API</h1>
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Client Invocation Async API</a>.
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Client Invocation Async API</a>.
</body>
</html>
2 changes: 1 addition & 1 deletion jaxrs/invocation/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>JAX-RS 2 Client Invocation API</h1>
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Client Invocation API</a>.
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Client Invocation API</a>.
</body>
</html>
2 changes: 1 addition & 1 deletion jaxrs/jsonp/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>JSON-P using JAX-RS</h1>
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>endpoint</a>.
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">endpoint</a>.
</body>
</html>
2 changes: 1 addition & 1 deletion jaxrs/link/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
</head>
<body>
<h1>JAX-RS 2 Links</h1>
Invoke the <a href="/link/TestServlet"/>Client</a>.
Invoke the <a href="/link/TestServlet">Client</a>.
</body>
</html>
2 changes: 1 addition & 1 deletion jaxrs/moxy/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>JSON Binding in JAX-RS using Moxy</h1>
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>endpoint</a>.
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">endpoint</a>.
</body>
</html>
2 changes: 1 addition & 1 deletion jaxrs/readerwriter-json/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>JAX-RS 2 Message Body Reader/Writer using JSON</h1>
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Client</a> and check the server.log for output.
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Client</a> and check the server.log for output.
</body>
</html>
2 changes: 1 addition & 1 deletion jaxrs/request-binding/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>Request Binding</h1>
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Client</a>.
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Client</a>.
</body>
</html>
2 changes: 1 addition & 1 deletion jaxrs/resource-validation/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>Resource Validation</h1>
Invoke the <a href="${pageContext.request.contextPath}/TestServlet"/>Client</a>.
Invoke the <a href="${pageContext.request.contextPath}/TestServlet">Client</a>.
</body>
</html>
2 changes: 1 addition & 1 deletion jpa/jpa-converter/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<body>
<h1>JPA 2.1 Converter</h1>

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

</body>
</html>
2 changes: 1 addition & 1 deletion jpa/locking-pessimistic/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>JPA Pessimistic Locking</h1>
<a href="${pageContext.request.contextPath}/TestServlet"/>CRUD entity</a>.
<a href="${pageContext.request.contextPath}/TestServlet">CRUD entity</a>.
</body>
</html>
2 changes: 1 addition & 1 deletion jpa/schema-gen-scripts/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<body>
<h1>JPA 2.1 Schema Generation (using scripts)</h1>

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

<br><br>
If you see this page, that means database tables are created
Expand Down
2 changes: 1 addition & 1 deletion jpa/unsynchronized-pc/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
<body>
<h1>JPA 2.1 Unsynchronized Persistence Context</h1>

<a href="${pageContext.request.contextPath}/TestServlet"/>Add & List</a> employees.
<a href="${pageContext.request.contextPath}/TestServlet">Add & List</a> employees.
</body>
</html>
2 changes: 1 addition & 1 deletion servlet/async-servlet/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>Servlet : Filters</h1>
Invoke the <a href="${pageContext.request.contextPath}/MyAsyncServlet"/>Async Servlet</a>.
Invoke the <a href="${pageContext.request.contextPath}/MyAsyncServlet">Async Servlet</a>.
</body>
</html>
2 changes: 1 addition & 1 deletion servlet/event-listeners/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>Servlet : Event Listeners</h1>
Call the <a href="${pageContext.request.contextPath}/TestServlet"/>servlet</a> to set/update/remove attributes.
Call the <a href="${pageContext.request.contextPath}/TestServlet">servlet</a> to set/update/remove attributes.
</body>
</html>
2 changes: 1 addition & 1 deletion servlet/metadata-complete/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
</head>
<body>
<h1>Servlet : Metadata Complete</h1>
Call the <a href="${pageContext.request.contextPath}/TestServlet"/>servlet</a>. <br><br>@WebServlet is ignored, instead the servlet-mapping from "web.xml" is used.
Call the <a href="${pageContext.request.contextPath}/TestServlet">servlet</a>. <br><br>@WebServlet is ignored, instead the servlet-mapping from "web.xml" is used.
</body>
</html>
4 changes: 2 additions & 2 deletions servlet/security-form-based/src/main/webapp/loginform.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
<h1>Form-Based Login Page</h1>

<form method="POST" action="j_security_check">
Username: <input type="text" name="j_username"> <p/>
Password: <input type="password" name="j_password" autocomplete="off"> <p/>
Username: <input type="text" name="j_username"> <br/>
Password: <input type="password" name="j_password" autocomplete="off"> <br/>
<input type="submit" value="Submit" name="submitButton">
<input type="reset" value="Reset">
</form>
Expand Down
2 changes: 1 addition & 1 deletion servlet/simple-servlet/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
</head>
<body>
<h1>Simple Servlet</h1>
Call the <a href="${pageContext.request.contextPath}/SimpleServlet"/>servlet</a>.
Call the <a href="${pageContext.request.contextPath}/SimpleServlet">servlet</a>.
</body>
</html>
4 changes: 2 additions & 2 deletions websocket/endpoint-security/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
<input id="myField" value="WebSocket" type="text"><br>
</form>
</div>
<p/>If you see this page that means you've entered the username/password
credentials correctly. Make sure to create the user by giving the command.<p/><p/>
<p>If you see this page that means you've entered the username/password
credentials correctly. Make sure to create the user by giving the command.</p><br/>
Make sure to create a user:<br><br>

For WildFly: Invoke "./bin/add-user.sh -a -u u1 -p p1 -g g1"<br>
Expand Down
2 changes: 1 addition & 1 deletion websocket/httpsession/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<input id="myField" value="WebSocket" type="text"><br>
</form>
</div>
<p/>Look for HttpSession id and creation time in server.log.
<p>Look for HttpSession id and creation time in server.log.</p>
<div id="output"></div>
<script language="javascript" type="text/javascript" src="websocket.js">
</script>
Expand Down
2 changes: 1 addition & 1 deletion websocket/messagesize/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<input id="myField2" value="123456" type="text"><br>
</form>
</div>
<p/>Connection is closed if more than 6 characters are sent.<p/>
<p>Connection is closed if more than 6 characters are sent.</p>
<div id="output"></div>
<script language="javascript" type="text/javascript" src="websocket.js">
</script>
Expand Down