aspose file tools*
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 Java 8 in Action this week in the Java 8 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: 60082

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]
I agree. Here's the link:
subject: [jsp:getProperty} as RTExpr
Similar Threads
jsp actions + expr values
expression in tiles
html:select disabled property not working
Disabling html:text in Struts dynamically
Disabling html:select by form bean property