240 likes | 314 Views
Java Shopping Mall NiceDoggy. MVC Architecture Model View Controller. Data Model for NiceDoggy. linking table. password: admin. In batch files: net start MySQL net stop MySQL. MySQL Workbench 5.2. Create New Model. Data Model for NiceDoggy. linking table. process flow.
E N D
Java Shopping Mall NiceDoggy
Data Model for NiceDoggy linking table
In batch files: net start MySQL net stop MySQL
MySQL Workbench 5.2 Create New Model
Data Model for NiceDoggy linking table
Insert into “header” div <div id="header"> <div id="widgetBar"> • <div class="headerWidget"> • [ language toggle ] • </div> • <div class="headerWidget"> • [ shopping cart widget ] • </div> </div> <a href="#"> <img src="#" id="logo" alt=“niceDoggylogo"> </a> <img src="#" id="logoText" alt=“niceDoggy"> </div>
css #logo { height: 155px; width: 155px; float: left; margin-left: 30px; margin-top: -20px; } #logoText { float: left; margin: 20px 0 0 70px; /* font styles apply to text within alt tags */ font-family: 'American Typewriter', Courier, monospace; font-size: 50px; color: #333; } #widgetBar { height: 50px; width: 850px; float: right; background: #ccc; } .headerWidget { width: 194px; margin: 20px 2px; font-size: small; float: right; line-height: 25px; background: #aaa; }
indexRightColumn <div class="categoryBox"> <a href="#"> <span class="categoryLabelText">Pet Dogs</span> </a> </div> <div class="categoryBox"> <a href="#"> <span class="categoryLabelText">Dogs to Eat</span> </a> </div> <div class="categoryBox"> <a href="#"> <span class="categoryLabelText">Hunting Dogs</span> </a> </div> <div class="categoryBox"> <a href="#"> <span class="categoryLabelText">Fighting Dogs</span> </a> </div>
css .categoryBox { height: 176px; width: 212px; margin: 21px 14px 6px; float: left; background: #ccc; } .categoryLabelText { line-height: 150%; font-size: x-large; }
Create header and footer jspf files jsp property groups in web.xml (standard deployment descriptor)