File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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: 63548

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: [jsp:getProperty} as RTExpr
It's not a secret anymore!