Hi,

Am Freitag, den 19.10.2007, 10:34 +0200 schrieb Tobias Bocanegra:
> for example:
> document.write(...)   would write to the response writer

JSP defines the writer using the variable out, so we should use that
name. The EspReader will create the out value on demand while for Plain
Javascript files the writer must be explicitly retrieved from the
response.

For Velocity Templates the response writer is used to evaluate the
template in the first place.

> but of course, a convenience class should encapsulate this in order to
> make microsling easy to use. either:
> sling.include(...)
> document.include(...)
> response.include(...)

Would not do that. People know the Servlet API and we should not invent
additional helper stuff, which is just hard to maintain. Rather we will
provide taglibs for JSP (in Sling not microsling, though).

Regards
Felix

Reply via email to