Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Diff b/w session scope & application scope  RSS feed

 
sureshreddy puli
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Pls tell the difference between session scope and application scope in jsp or servelts.And how to send some values from one server to another server when we are using sendRedirect().Hope all of u ustood my problem.Pls send response.

regards.

Puli Reddy.
[ September 30, 2005: Message edited by: sureshreddy puli ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hope all of u ustood my problem.Pls send response.


JavaRanch is a community of people from all over the world, many of who are not native English speakers. While using abbreviations like "u" instead of spelling out "you" is convenient when text messaging your friends on a cell phone or in a chat room, it presents an extra challenge to those that are already struggling with English. Additionally, such shortcuts may confound automated translation tools that patrons of the Ranch may be making use of.

I would like to ask for your help in making the content of JavaRanch a little easier to read for everybody that visits here by not using such abbreviations.

Please read this for more information.

thanks,
bear
Forum Bartender
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
difference between session scope and application scope in jsp or servelts.


Sessions are unique to a browser instance (including windows launched from that browser). One is created for every such instance.

There is only one application scope per web application context that is shared across the entire web app.

And how to send some values from one server to another server when we are using sendRedirect()


Neither of these contexts are available to another server.
[ September 30, 2005: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!