• Post Reply Bookmark Topic Watch Topic
  • New Topic

threading in jsp  RSS feed

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are JSP pages able to deal with page scope variables (global) in an environment where servlets may have multiple threads concurrently dispatched to each servlet instance?
i came accross this ques while I was browsing..
can anyone help me with an answer
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But page scope variables are not global, they are local to the request while it is in that page. Look at the generated source code to see how that works.
Bill
 
bill williams
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to review generated source code in websphere? all are binary files. i have been wondering why ibm gives error meg like "... exception at RTY^%$$#ERFT^_jsp.java" but does not save the generated source code.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Surely websphere must have an option to save the generated Java source.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!