View RSS Feed

JSP

Java Server Pages (JSP) tutorials and examples.

  1. Cooperating Tags in JSP

    by
    JSP
    , 07-07-2012 at 06:55 PM
    Java Server Pages provides support for two types of object sharing. This object sharing is achieved using cooperating tags.

    In first approach, an object is given a name and page context is used to store this object. The page context is implicit object that can be accessed by tag handlers and JSP pages. The following command is used to access a shared object that has been given a name.
    Java Code:
    pageContext.getAttribute( name, scope );
    In second approach of ...