JSP files contain the syntax that enables your HTML pages to display
dynamically. The types of JSPs files correspond to search views, list
views, and detail views. The standards for each JSP file depend on
the type of screen that uses it.
JSP files for search views
A JSP file for a search view typically
contains tags that create input fields which permit users to enter
search criteria. A search JSP file usually includes the following
types of HTML controls:
- Labels
- Input fields
- Combo boxes
- Radio buttons
- Checkboxes
JSP files for list views
A JSP file for a list view typically contains
only an HTML table with column headers and data cells. Most list views
also contain checkboxes for use with the actions that can be performed
on the records in the list. An XML key is usually constructed and
associated with the checkboxes on the table.
JSP files for detail views
A JSP file for a detail view is typically
the most complicated, since detail views often require a wide variety
of controls. Detail views usually contain the same sort of HTML controls
as a search view. In addition, detail views may also contain the following
controls:
Remember: In order to maintain a consistent
look and feel throughout the product, use the same stylesheets (CSS
files) throughout all of the JSP files you customize.