Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Passing a parameter to jsp's getProperty tag  RSS feed

 
Thiru Narayanan
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We can pass a parameter to the setProperty tag with the "value=" attribute. Is it possible to pass a parameter to the getProperty tag? If so, can the same "value=" attribute be used?
Thank you,
THIRU
 
vishal avad
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi thiru
what i think is getXXX methods r for returning values and not passing due to this thing i think jsp does not support such assignment of value in getProperty tag.
but u can explicitly call getXXX(value); method within scriptlets.

rgds
vishal
 
Thiru Narayanan
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you vishal. That is how I am doing it now. Just wanted to know whether it is possible.
THIRU
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!