Download
slide1 n.
Skip this Video
Loading SlideShow in 5 Seconds..
Java Shopping Mall NiceDoggy PowerPoint Presentation
Download Presentation
Java Shopping Mall NiceDoggy

Java Shopping Mall NiceDoggy

60 Vues Download Presentation
Télécharger la présentation

Java Shopping Mall NiceDoggy

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Java Shopping Mall NiceDoggy

  2. MVC ArchitectureModel View Controller

  3. Data Model for NiceDoggy linking table

  4. password: admin

  5. In batch files: net start MySQL net stop MySQL

  6. MySQL Workbench 5.2 Create New Model

  7. Data Model for NiceDoggy linking table

  8. process flow

  9. index.jsp

  10. stylesheet

  11. 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>

  12. 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; }

  13. 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>

  14. css .categoryBox { height: 176px; width: 212px; margin: 21px 14px 6px; float: left; background: #ccc; } .categoryLabelText { line-height: 150%; font-size: x-large; }

  15. Create header and footer jspf files jsp property groups in web.xml (standard deployment descriptor)

  16. Blocking access using web-inf folder

  17. servlet

  18. using @WebServlet annotation