Simple Bean

A simple example of a Java Bean instanciated and used from within a JSP page.
I personally don't recommend doing this anymore. For a better approach to working with Java Beans in a webapp, scroll down to SimpleMVC.

To Run:

  1. Download SimpleBean.war to your TOMCAT_INSTALL/webapps directory.
    If you're using MSIE, make sure it doesn't change the extension to ".zip".
  2. Then, click on this link: