Environment-aware beans in JSP

1999-09-21 Thread Richard Yumul
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. Namely, I'd like them to have access to the HttpServletRequest (and possibly the HttpServletResponse) methods. I remember in the 0.91 or 0.92 spec that if a bean i

Re: Environment-aware beans in JSP

1999-09-21 Thread Craig R. McClanahan
Richard Yumul wrote: > 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. Namely, I'd like them to > have access to the HttpServletRequest (and possibly the HttpServletResponse) > methods. I remember in the 0.91

Re: Environment-aware beans in JSP

1999-09-22 Thread Rick Goeltz
> 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 bea