On Thu, 12 Sep 2002, Dror Matalon wrote:

> We're in the middle of moving our platform to using the JSP 1.2 with
> custom tags. Writing tags is actually not that bad. The only "hard"
> thing was figuring out the whole issue of passing arguments, and that
> was hard only because I couldn't find a good description of the
> details involved.

In general, this is simplified in JSP 2.0 as well.  The JSP 1.2
tag-handler protocol isn't terrible once you learn it, but as Eduardo
Pelegri has joked at JavaOne presentations, Gosling himself said he hadn't
had time to work through the tag-handler protocol because of its
difficulty!

If by "arguments" you mean tag attributes, see

        http://jakarta.apache.org/taglibs/guidelines

for some guidelines on handling them correctly; it's a little trickier
than might be evident at first.

--
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to