Tutorials
Here you'll find my (Marian's) slides and examples used in the tutorials.
If you have any questions contact me at mdoerk@ucalgary.ca
Week 2
HTTP – The Plumbing of the Web
HTTP – Pipelining, Sessions, Cookies, Caching: example requests.txt
Week 3
HTML – Mother Tongue of the Web
CSS – Adding Style to the Web
Week 4
Forms and CGI
- form 1.html response 1.html
- form 2.html response 2.html
- form 3.html response 3.html
- form 4.html response 4.html
Tomcat and Servlets: webapp examples.zip
Week 5
Servlets and Persistence
- calc 0.zip - calculator using context
- calc 1.zip - calculator using context with stats
- calc 2.zip - calculator using sessions and with stats
Filters, Dispatchers, JSP
Week 7
Deployment Descriptor: dd.zip - web.xml and more
JavaScript, the language: javascript_1.zip
- index.html and file.js - adding logic to HTML
- debugging.html - using alert and console.log (with Firebug or Webkit inspector)
- variables.html - variables, arrays, and objects
- functions.html - conventional, anonymous, and member functions
- events.html - simple event handling
Week 8
JavaScript contd., events and DOM
- conditions.html
- loops.html
- exceptions.html
- dom.html dom.js
- menu.html menu.css menu.js
- boxes.html boxes.js
AJAX: examples as servlet contexts, move into webapps
- complete.zip - suggestions for input box
- twitter.zip - twitter news ticker
Week 9
XSLT with aforementioned feeds
Week 10
Assignment 2 recap and example: assignment2.zip
Chaining examples: chaining1.js chaining2.js
Week 11
Assignment 3 recap and example: assignment3.zip