This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JSP and the fly likes [jsp:getProperty} as RTExpr Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "[jsp:getProperty} as RTExpr" Watch "[jsp:getProperty} as RTExpr" New topic

[jsp:getProperty} as RTExpr

Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
Can we use <jsp:getProperty> inside tag attribute where RTExpr is expected?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62138

No. You cannot use a tag as the attribute of another tag.

If you are using JSP 2.0, you can use the EL for this purpose.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
It is sorta covered in the JavaRanch Style Guide.
subject: [jsp:getProperty} as RTExpr