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

Changing the scope of a variable  RSS feed

 
Sashidhar Rao Gopisetty
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If i have variable declared with default scope in current page will be used in another jsp page declared its scope as session.how it can change its scope depending upon pageto page.
[ September 25, 2005: Message edited by: Bear Bibeault ]
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PLEASE STOP SHOUTING AT US, WHAT DID WE EVER DO TO YOU?

Please KeepItDown.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SASHIDHAR, I have changed the case of your post to mixed case. Please do everyone a favor and do not post in all capital letters. it is considered "shouting" and is also considered very rude.

Also, please do us all a favor and modify your display name to use mixed case as well. Everyone's eyes will thank you for it.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To "move" a variable from one scope to another, simply remove the attribute from the source scope and set it into the target scope.
 
Sashidhar Rao Gopisetty
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai all,
I apologize for my mistake iam very new to this forum,I request u please dont feel bad. i respect all of you.thanks for nice suggestions please let me know what ever if i did any mistakes ok thanks once again please dont avoid my mails.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!