Quoting Eduardo Pelegri-Llopart ([EMAIL PROTECTED]):
> > Actually WebMacro does more aggressive introspection than the beans
> > spec (and therefore than JSP), and is willing to take advantage of
> > methods like:
> >
> >     request.setHeader("Content-type", "text/html")
> >
> > which are not easy to get at with only beans introspection. (WebMacro
> > can view that as a property called "request.Header.Content-type").
>
> If I understant correctly what you are saying, a JSP 1.1 custom tag has
> access to this via the PageContext object.
>
> It will be easier to understand what custom tags can do once Tomcat is
> out.

I am talking about ability to access methods of that format in general,
not just the ability to get at the Content-type. In general WebMacro
can treat:

    Thing.getFoo("Bar")   /   Thing.setFoo("Bar", "baz")

as the implementation of a property called Thing.Foo.Bar, whereas the
beans spec does not by default allow access to such methods.

WebMacro introspection is a superset of bean introspection.

Justin

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to