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:getProperty

 
vani venkat
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
does jsp:getProperty keep looking in all scopes for the property since there is no scope attribute for getProperty standard action?
 
Vijitha Kumara
Bartender
Pie
Posts: 3930
21
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
vani venkat wrote:does jsp:getProperty keep looking in all scopes for the property since there is no scope attribute for getProperty standard action?


No. For <jsp:getProperty> to work you should create or locate a Bean with <jsp:useBean>.
 
Devaka Cooray
Marshal
Pie
Posts: 4897
409
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at this jsp:getProperty description.
 
vani venkat
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you.
 
vani venkat
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there is scope attribute to useBean standard action where scope attribute is not present for getProperty.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic