Sorry, Jon, we disagree. TagLibraryValidators *are* part of the JSP 1.2
specification. They are quite flexible and one of the simplest uses is
to express that some tags cannot appear. Scriptlets are exposed as
jsp:scriptlet tags.
- eduard/o
Jon Stevens wrote:
>
> on 5/18/01 3:01 PM, "Eduardo Pelegri-Llopart"
> <[EMAIL PROTECTED]> wrote:
>
> > I didn't see any follow-up clarifying this but apologies if I missed it.
> >
> > JSP 1.2 has the notion of a TagLibraryValidator that is associated with
> > a tag library. This can be used to portably validate different
> > assertions on your JSP page. This could be used to, for example, check
> > that some actions are nested within others, or that some portions of
> > your JSP page conform in one way or another.
> >
> > A TagLibraryValidator can also be used to disable scriptlets.
>
> Making it easy to disable scriptlets and breaking the specification are two
> different things. It is part of the JSP specification to be able to use
> scriptlets. By disabling them, you are encouraging people to break the
> specification.