Larry Bouthillier wrote:
>
> Hi,
>
> I'm interested in the custom tag possibilities I see in the JSP 1.0
> spec, but I cannot find any implementation details or examples.  I'm
> hoping to create some custom markup that HTML folks can use in templates
> to access data in the database.
>
> For example, a tag like <ARTICLE ID="2342165" FORMAT="abstract"/> that
> can be dropped into the JSP by a non-techie editor, and have the
> appropriate content fetched and formatted by other Java code.
>
> I can do the query and formatting with no trouble, but I'm unsure how to
> define my own tags and how to translate them into calls to Beans or
> other Java code.
>
> Can anyone point me in the right direction?

The Tag Extension mechanism was only introduced through the taglib directory
in JSP 1.0, to indicate that JSP engine vendors could provide their own
tab library format to extend the set of tags recognized by a JSP implementation.

In JSP 1.1 a portable tag library format is being defined. The first public
draft vesion of the JSP 1.1 spec was released this week and is available at
http://java.sun.com/products/jsp/techinfo.html so you can see what's coming and
provide feedback.

--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to