|
Assignments
> Assignment n.4 > in depth
|
|
Assignment n.4
|
Delivery deadline: midnight of Sunday, Oct.14
- Install the Tomcat Server on your machine
- Write and deploy a web app which has:
- A home page with links to the time page and to the date page
- a filter that intercepts ALL pages except home, check if a valid cookie is available, and if not redirects to a login page
- a login page which checks username and password. Names and pwds are kept in an xml file having for each user the stucture described below.
- a time page showing the current time of the day
- a date page showing the current date
- a logout page which deletes the cookie
- all pages present a greeting to the user (showing his/her name), and a link to the logout page
XML Fragment:
<user>
<name>user name</name>
<password>user password</password>
</user>
Deliver a report , the source code, and the webapp in form of a war.
|
|
|