-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path02.html
102 lines (97 loc) · 4.8 KB
/
02.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE html>
<html>
<head>
<title>AIP Week 2: HTTP and Servlets</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<link href="resources/normalize.css" rel="stylesheet" />
<link href="resources/stylize.css" rel="stylesheet" />
</head>
<body>
<div class="menu">
<ul>
<li><a href="https://online.uts.edu.au/">UTS Online</a></li>
<li class="title">/</li>
<li><a href="index.html">Learning</a></li>
<li class="title">/</li>
<li class="title">Week 2</li>
</ul>
<ul>
<li class="title">Study</li>
<li><a href="02-practice.html">Practice</a></li>
<li><a href="02-challenge.html">Challenge</a></li>
<li><a href="02-solutions.html">Solutions</a></li>
</ul>
</div>
<div class="container">
<h1>HTTP and Servlets</h1>
<p><i>Study for Week 2: 8 August</i></p>
<p>This week we look at Java Servlet technologies. Servlets are the foundation for almost all web server technologies in Java.</p>
<div class="section">
<a name="outcomes"></a>
<input id="outcomes" type="checkbox" autocomplete="off" />
<label for="outcomes"><h2>Outcomes</h2></label>
<div class="content">
<p>At the end of this session, you should be able to:</p>
<ul>
<li>Explain how HTTP works, including content-types</li>
<li>Implement a Servlet</li>
<li>Explain the parts of a WAR package</li>
</ul>
</div>
</div>
<div class="section">
<a name="warmup"></a>
<input id="warmup" type="checkbox" autocomplete="off" />
<label for="warmup"><h2>Warm up study and videos</h2></label>
<div class="content">
<div class="download"><a href="02/slides.pdf"><img src="resources/slides.png" />Full slides and detailed notes</a></div>
<h3>HTTP refresher</h3>
<p>A look into the details of the hyper-text transfer protocol that underlies the web:</p>
<div class="videocontainer"><iframe width="640" height="360" src="https://www.youtube.com/embed/UPLNZfgxTSs?rel=0" frameborder="0" allowfullscreen></iframe></div>
<h3>Introduction to Servlets</h3>
<p>Why do we need Servlets? What is a Servlet?</p>
<div class="videocontainer"><iframe width="640" height="360" src="https://www.youtube.com/embed/IpQgt-7I_Ck?rel=0" frameborder="0" allowfullscreen></iframe></div>
<h3>Creating your own Servlets</h3>
<div class="videocontainer"><iframe width="640" height="360" src="https://www.youtube.com/embed/K_UGm724ZwI?rel=0" frameborder="0" allowfullscreen></iframe></div>
<h3>Cookies and sessions</h3>
<p>Tracking users as they browse your site:</p>
<div class="videocontainer"><iframe width="640" height="360" src="https://www.youtube.com/embed/9t36yMt6jRA?rel=0" frameborder="0" allowfullscreen></iframe></div>
</div>
</div>
<div class="section">
<a name="deeper"></a>
<input id="deeper" type="checkbox" autocomplete="off" />
<label for="deeper"><h2>Deeper study</h2></label>
<div class="content">
<p>To learn more, you can read Chapter 2 of:</p>
<p>Hunter, Jason (2001) <em>Java Servlet Programming</em>, O’Reilly, <a href="http://find.lib.uts.edu.au/?R=OPAC_b2916567">http://find.lib.uts.edu.au/?R=OPAC_b2916567</a></p>
</div>
</div>
<div class="section">
<a name="quiz"></a>
<input id="quiz" type="checkbox" autocomplete="off" />
<label for="quiz"><h2>Preparation activities</h2></label>
<div class="content">
<p>The preparation activities for this week are as follows:</p>
<ol>
<li>Complete the quiz that can be found on UTS Online.</li>
<li>Complete the preparation assignment that can be found on UTS Online.</li>
</ol>
</div>
</div>
<div class="section">
<a name="handson"></a>
<input id="handson" type="checkbox" autocomplete="off" />
<label for="handson"><h2>Practical exercises</h2></label>
<div class="content">
<ul>
<li><a href="02-practice.html">Hands-on practical exercises</a></li>
<li><a href="02-challenge.html">Challenge problems</a></li>
<li><a href="02-solutions.html">Sample solutions</a></li>
</ul>
</div>
</div>
</div>
</body>
</html>