File tree 32 files changed +36
-36
lines changed
exclude-filter/src/main/webapp
extension/src/main/webapp
pkg-level/src/main/webapp
lifecycle/src/main/webapp
singleton/src/main/webapp
extra/quartz/src/main/webapp
javamail/definition/src/main/webapp
filter-interceptor/src/main/webapp
interceptor/src/main/webapp
invocation/src/main/webapp
invocation-async/src/main/webapp
readerwriter-json/src/main/webapp
request-binding/src/main/webapp
resource-validation/src/main/webapp
jpa-converter/src/main/webapp
locking-pessimistic/src/main/webapp
schema-gen-scripts/src/main/webapp
unsynchronized-pc/src/main/webapp
async-servlet/src/main/webapp
event-listeners/src/main/webapp
metadata-complete/src/main/webapp
security-form-based/src/main/webapp
simple-servlet/src/main/webapp
endpoint-security/src/main/webapp
httpsession/src/main/webapp
messagesize/src/main/webapp
32 files changed +36
-36
lines changed Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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 >.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 52
52
<h1 >CDI Extension</h1 >
53
53
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.
54
54
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 >.
56
56
57
57
</body >
58
58
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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 >.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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 >.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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 >.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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 >.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 51
51
<body >
52
52
<h1 >EJB : Singleton</h1 >
53
53
54
- <a href =" ${ pageContext. request. contextPath } /TestServlet" / >Call bean</a >
54
+ <a href =" ${ pageContext. request. contextPath } /TestServlet" >Call bean</a >
55
55
</body >
56
56
</html >
Original file line number Diff line number Diff line change 51
51
</head >
52
52
<body >
53
53
<h1 >Quartz Scheduler</h1 >
54
- Trigger <a href =" ${ pageContext. request. contextPath } /TestServlet" / >scheduler</a >
54
+ Trigger <a href =" ${ pageContext. request. contextPath } /TestServlet" >scheduler</a >
55
55
</body >
56
56
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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 />
54
54
<ul >
55
55
<li >from</li >
56
56
<li >password</li >
57
57
<li >to</li >
58
58
</ul >
59
59
Send an email from "username" to "to" using:
60
60
<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 >
63
63
</ol >
64
64
</body >
65
65
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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 >.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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 >.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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 >.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 9
9
</head >
10
10
<body >
11
11
<h1 >JAX-RS 2 Links</h1 >
12
- Invoke the <a href =" /link/TestServlet" / >Client</a >.
12
+ Invoke the <a href =" /link/TestServlet" >Client</a >.
13
13
</body >
14
14
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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 >.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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 >.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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 >.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 51
51
<body >
52
52
<h1 >JPA 2.1 Converter</h1 >
53
53
54
- <a href =" ${ pageContext. request. contextPath } /TestServlet" / >List & Add</a > employees.
54
+ <a href =" ${ pageContext. request. contextPath } /TestServlet" >List & Add</a > employees.
55
55
56
56
</body >
57
57
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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 >.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 51
51
<body >
52
52
<h1 >JPA 2.1 Schema Generation (using scripts)</h1 >
53
53
54
- <a href =" ${ pageContext. request. contextPath } /TestServlet" / >List</a > employees.
54
+ <a href =" ${ pageContext. request. contextPath } /TestServlet" >List</a > employees.
55
55
56
56
<br ><br >
57
57
If you see this page, that means database tables are created
Original file line number Diff line number Diff line change 51
51
<body >
52
52
<h1 >JPA 2.1 Unsynchronized Persistence Context</h1 >
53
53
54
- <a href =" ${ pageContext. request. contextPath } /TestServlet" / >Add & List</a > employees.
54
+ <a href =" ${ pageContext. request. contextPath } /TestServlet" >Add & List</a > employees.
55
55
</body >
56
56
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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 >.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 50
50
</head >
51
51
<body >
52
52
<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.
54
54
</body >
55
55
</html >
Original file line number Diff line number Diff line change 53
53
<h1 >Form-Based Login Page</h1 >
54
54
55
55
<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 />
58
58
<input type =" submit" value =" Submit" name =" submitButton" >
59
59
<input type =" reset" value =" Reset" >
60
60
</form >
Original file line number Diff line number Diff line change 9
9
</head >
10
10
<body >
11
11
<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 >.
13
13
</body >
14
14
</html >
Original file line number Diff line number Diff line change 57
57
<input id =" myField" value =" WebSocket" type =" text" ><br >
58
58
</form >
59
59
</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 />
62
62
Make sure to create a user:<br ><br >
63
63
64
64
For WildFly: Invoke "./bin/add-user.sh -a -u u1 -p p1 -g g1"<br >
Original file line number Diff line number Diff line change 57
57
<input id =" myField" value =" WebSocket" type =" text" ><br >
58
58
</form >
59
59
</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 >
61
61
<div id =" output" ></div >
62
62
<script language =" javascript" type =" text/javascript" src =" websocket.js" >
63
63
</script >
Original file line number Diff line number Diff line change 63
63
<input id =" myField2" value =" 123456" type =" text" ><br >
64
64
</form >
65
65
</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 >
67
67
<div id =" output" ></div >
68
68
<script language =" javascript" type =" text/javascript" src =" websocket.js" >
69
69
</script >
You can’t perform that action at this time.
0 commit comments