Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp:useBean

 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
what happens if we declare two bean instances with the different scope say one with page and one with session with same id?
as per this section 8.2 link i understand that it will create two bean instances.
but if we do so then won't there be a conflict about which instance to be used?
regards
maulin.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maulin:
We discussed this point in this thread.
I wouldn't want to re-do all this now. So please refer to that post. We also did some example code so you can try. Hope you don't mind the re-direction.
Good luck.
- satya
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi satya,
after going thru the post i could understand y u dont want to go over it again
btw, it was a very good discussion.
regards
maulin.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well it was a pretty elaborate discussions and I was afraid I will miss something if I try to repeat. That was my only concern.
Glad that you liked it.
- satya
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic