Richard Yumul wrote:
>
> According to the O'Reilly book, Java Servlet Programming (Jason
> Hunter), on p44 it states that beans which
>
> "implement the javax.servlet.Servlet interface (either directly or
> by extending GenericServlet or HttpServlet), it will call the
> bean's service() method once for each request and the bean's init()
> method when the bean is first created..."
They removed that in JSP 0.92 I believe it was, and it didn't make it
into 1.0. With all the changes they made between 0.91 and 1.0, you
don't want to use the JSP references as gospel. That's why I didn't
devote lots of time to JSP -- it was very subject to change.
> Basically, I just want the bean to be able to see the request
> object, so it'll know it's environment and the arguements passed
> to it in the query string or in the post request. That is, without
> having to manually pass the request object to
> the bean in the jsp page. ie, without having to do a <%
> testBean.setRequest(request); %>.
Can't do it. I miss that functionality too.
-jh-
--
Jason Hunter
[EMAIL PROTECTED]
Book: http://www.servlets.com/book
Article: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html
===========================================================================
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".