• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP Page Scope

 
Ekta Matani
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have some queries regarding jsp page scope,

In which scenerios to use page scope?
What is the use of page scope if page scope represent objects and attributes for current jsp page and cannot make objects available to next page?
Why servlets dont have page scope?
I need some practical examples of using JSP page scope in comparison with other jsp scopes.

Thanks in advavance!
Ekta
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65520
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ask yourself the same questions about method-local variables in Java. Why export a value if it is only going to be used locally?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!