On Tue, 15 Oct 2002, Howard Miller wrote:

> Date: Tue, 15 Oct 2002 20:45:10 +0100
> From: Howard Miller <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>,
>      [EMAIL PROTECTED]
> To: struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: Request v Page scope?
>
> Hi,
>
> Can somebody explain (slowly) the difference between Request
> scope and Page scope - I particularly don't understand what the
> intended purpose of Page scope is.
>

In practice, there are only two places that the difference between
page scope and request scope show up:

* When you use <jsp:include> to dynamically include another
  page, the included page has its own *page* scope but shares
  the same *request* scope as the calling page.

* Page scope is a JSP thing only, not accessible from servlets
  or Java code called by servlets.  From a Struts perspective,
  that means it is pretty useless for passing objects from your
  Actions into the pages that will use them to render the
  display -- request scope is most commonly used for this.

> HM
>

Craig


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to