Advantages of JSP
  • Alternatives to JSP
    • UI code in beans
      • Fails to separate business logic from UI
      • Makes multiple UI's almost impossible
    • UI code in servlets
      • Makes it difficult to edit HTML without understanding Java
      • Compare with Example 21; a web designer with almost no Java experience could modify elements of the UI
      • JSP has features that the Auction system does not use to enhance this separation of UI programmer from UI designer, e.g. tag libraries

Next Slide >>