Session-aware JSP | Registry objects


DataBean activation


When composing a JSP page using multiple JSP fragments, care should be taken if the same databean is used on these fragments to avoid unneccessary activation and instantiation overhead. In these cases, use the the same id attribute value and set the scope attribute value to request.

If databeans are not used, do not declare them with the useBean tag, as that incurs some overhead cost.