Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp:getProperty  RSS feed

 
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
Posts: 4001
42
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
Posts: 5613
742
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
Boost this thread!