File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Page and Request Scope

 
Micheal John
Ranch Hand
Posts: 344
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is difference between page scope and request scope? can anyone give some example on ot?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Request scope is wider than page scope. A request can consist of a page/servlet that is first accessed, and then of a number of "include" and "forward" resources. Those included or forwarded resources are part of the request, but not part of the (original) page scope. So one request can cause several pages to be accessed.

If no forwards or includes are happening during a request, then both scopes are identical.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic