<?xml version="1.0" encoding="utf-8"  ?>
<rss version="2.0">
	<channel>
		<title>Web Architectures 2020-21 &gt; Deliveries &gt; Assignments</title>
		<link>http://latemar.science.unitn.it/segue/index.php?&amp;action=site&amp;site=2021WebArchitectures&amp;section=467&amp;page=1578</link>
		<description></description>
		<lastBuildDate>Fri, 24 Feb 2023 01:43:57 +0100</lastBuildDate>
		<generator>Segue RSS Generator</generator>
		<item>
			<title>2nd DELIVERY</title>
			<link>http://latemar.science.unitn.it/segue/index.php?&amp;action=site&amp;site=2021WebArchitectures&amp;section=467&amp;page=1578&amp;story=4207&amp;detail=4207</link>
			<guid isPermaLink="true">http://latemar.science.unitn.it/segue/index.php?&amp;action=site&amp;site=2021WebArchitectures&amp;section=467&amp;page=1578&amp;story=4207&amp;detail=4207</guid>
			<pubDate>Tue, 29 Sep 2020 11:53:00 +0200</pubDate>
			<author>Marco Ronchetti marco.ronchetti@unitn.it</author>
<description>Create a Netbeans project named with &lt;strong&gt;your surname + 2&lt;/strong&gt; (eg., for me it would be Ronchetti2) and containing a webapp with the same name.&lt;br /&gt;&lt;br /&gt;Create a Derby database named &lt;strong&gt;DELIVERY2DB&lt;/strong&gt; with username &lt;strong&gt;username&lt;/strong&gt; and password &lt;strong&gt;pw&lt;/strong&gt;.&lt;br /&gt;The database must be located within your Netbeans project.&lt;br /&gt;&lt;br /&gt;Create a table where usernames and passwords are kept.&lt;br /&gt;Populate the table with a record containing &amp;quot;user1&amp;quot; and &amp;quot;pw1&amp;quot;.&lt;br /&gt;&lt;br /&gt;The web app must be composed by the following conponents:&lt;br /&gt;&lt;br /&gt;A &lt;strong&gt;loginServlet&lt;/strong&gt; asks user for username and password, checks in the database if a username with that password exists:&lt;br /&gt;if not it gives an error message and asks username and pw again,&lt;br /&gt;else it creates a session and proceeds to the main servlet.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;mainServlet &lt;/strong&gt;shows the user name and the current time, and it allows to change password and to delete the session. The mainServlet is protected by a filter.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;filter&lt;/strong&gt; checks if the session exists, if not it redirects to the loginServlet.&lt;br /&gt;&lt;br /&gt;Deliver the Netbeans project by zipping it and uploading it onto piazza, in the folder &amp;ldquo;delivery_2&amp;rdquo; as a&lt;strong&gt; private message &lt;/strong&gt;to the instructor.   &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Deadline: 23:59, Oct 9.&lt;/strong&gt;</description>
		</item>
	</channel>
</rss>