On Mon, 26 Jul 1999, DAVE TOWNSEND wrote:

> <% myBean.sendData(out) %>

this looks like it would work.  did it not?

> But I don't know what functions of out I can call etc.

check out the JSP specification.  Appendix A has a very detailed
description of what the JspWriter's methods are.

http://java.sun.com/products/jsp/techinfo.html

> The way I'm doing it at the moment is to let the bean return a string and
> then output it i.e.
>
> <% out.println(myBean.getData()) %>

this looks like it would be functionally equivalent to your first method,
except that your method had to buffer all the data in  StringBuffer first
before returning it from the getData() method.

good luck,

-- James

===========================================================================
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