[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Re: Getting request info from a bean


Vincent Partington wrote:
> 
> Hi Joel,
> 
> Joel Shellman wrote:
> > I have a bean being used in a JSP page via the bean tag. What is the
> > standard way for the bean to access servlet information--request,
> > context, jsdk api, etc.?
> 
> There is no standard way. You can either pass each bit of information
> the bean might be interested in. Alternatively, you could pass the
> servlet API objects (HttpServletRequest, HttpServletResponse,
> ServletContext) directly to the bean, allowing the bean to look through
> the information by itself.
> 
> Regards, Vincent.

Thanks for the response. I noticed the other recent post about JSP
calling the service method. Apparently that would have been the standard
way, but it has been removed from the spec apparently. I would
assume/hope that there would be some replacement perhaps.

Is there any sign of when the final 1.0 specs will be announced?
-- 
Joel Shellman
knOcean Interactive Corporation
http://corp.knOcean.com/