provided by: 
Originally published at Internet.comDynamic Home Pages
One of the main advantages of JavaServer Pages is the ability to generate dynamic content. JSPs generate dynamic HTML pages by using Java control structures like for loops and if statements. As a result, forms can be generated dynamically following some specified logical layout.
Generating dynamic content in Web applications is important when the content must reflect the most current and available data and personalized information. In this article, Stephanie and Jose show you how to create a configurable Home Page using JSP.
Creating A Configurable Home Page
Configurable Web pages is currently one of the very hot features Web sites are rushing to provide. They usually keep track of your personal preferences whenever you visit the Web site and allow you to configure your personal version of the Web site.
The following code shows the implementation of a simple configurable Web page that allows users to toggle the position of the navigation menu left and right, turn the footer on or off, andchange the background color. The navigation menu, main content section, and footer are included HTML files using the JSP directive
so that you can change these files to customize this example to your own particular implementation...
Read article at Internet.com site