Dashboard > WebWork > ... > Tags > JSP Tags
  WebWork Log In View a printable version of the current page.  
  JSP Tags
Added by Michael Greer, last edited by Patrick Lightbody on Dec 11, 2005  (view change)
Labels: 
(None)

JSP tags are extensions of the generic Tags provided by WebWork. You can get started almost immediately by simply knowing the generic structure in which the tags can be accessed: <ww:xxx> ... </ww:xxx>, where xxx is any of the tags supported by WebWork.

Tag Library Definition (TLD)

The JSP TLD is included in webwork.jar, meaning you can define the TLD as explained in the web.xml documentation. Once you've done this, you you can add the following to your JSP:

<%@ taglib prefix="ww" uri="webwork" %>

Now you can use the tags, like so:

<ww:iterator value="people">
    <ww:property value="lastName"/>, <ww:property value="firstName"/>
</ww:iterator>

Here would be a stunning place to reiterate how one comes upon the request, session and application objects from within a JSP.

Posted by Robert Douglass at Sep 23, 2004 10:29 | Permalink

Robert,
could you explain in more details what you mean by comming upon the request, session and application objects from within the jsp itself? I don't really get what you are saying, so we could put it down. Thx.

Posted by tm_jee at Dec 03, 2005 05:06 | Permalink
Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request - Contact Administrators