previous |
start |
next
A Three-Tier Application
- Only one instance of DataSourceBean needed for all JSP pages
that make up the web application
- Set its scope to "application"
- Store the database properties in the file web.xml in
the WEB_INF subdirectory
- The JSP pages can access the information in
web.xml
- Use the getInitParameter method of the predefined
application object
previous |
start |
next