> I've found when I want to utilize beans in a jsp page, I'd like the beans
to be
> aware of the environment that they're being used in.
Me too.
You can make your bean look like a servlet and act like a servlet:
<% bean.service(request, response); %>
Actually, I just send the request. The bean will have access to the
session, which makes sense to me because my beans service users. I let the
jsp's handle error reporting and page flow logic.
The bean will not have a servlet context -- but you can pass that too!
Rick
===========================================================================
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