• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFSJ page no. 416

 
maih fhil
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In this question, the scope is Page scope, so in case 1 & 3, we won't be able to fetch the person attribute. So how come case 3 works fine (Class type is not given in the standard action)
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you elaborate on your question for those of us that don't have the book readily available?
 
John Stone
Ranch Hand
Posts: 332
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you are right:


from the: SCWCD errata
 
John Stone
Ranch Hand
Posts: 332
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
original question is about <jsp:useBean> standard action, with no scope specified (thus using default page scope), and the bean (the atribute) is bound to request scope -> the answer given in book is that it works
 
maih fhil
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks John for the reply
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic