Re: Basic Question in Servlet/JSP ?

2001-07-23 Thread Ted Husted
If you're referring to the PageContext that is available when you are rendering the view, the answer would be because it doesn't exist yet ;-) The Struts ActionController (a servlet) calls an Action (not a servlet), and may eventually forwards to a JSP (another servlet). The PageContext for the

Re: Basic Question in Servlet/JSP ?

2001-07-23 Thread suhas
Question in Servlet/JSP ? If you're referring to the PageContext that is available when you are rendering the view, the answer would be because it doesn't exist yet ;-) The Struts ActionController (a servlet) calls an Action (not a servlet), and may eventually forwards to a JSP (another servlet

Re: Basic Question in Servlet/JSP ?

2001-07-23 Thread Ted Husted
To access the request in a Struts Action, you would reference the request passed to the perform() method. public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request,// --- request

Re: Basic Question in Servlet/JSP ?

2001-07-23 Thread Calvin Yu
On 23 Jul 2001 16:29:52 +0530, suhas wrote: Better can't we get this from the container specific implementaion something like PageContext in the Servlet too? . Why would we need to? Calvin

Re: Basic Question in Servlet/JSP ?

2001-07-23 Thread Calvin Yu
Question in Servlet/JSP ? On 23 Jul 2001 16:29:52 +0530, suhas wrote: Better can't we get this from the container specific implementaion something like PageContext in the Servlet too? . Why would we need to? Calvin