On 6/22/07, Nikola Milutinovic <[EMAIL PROTECTED]> wrote:

> <img src="${imageUrl}" alt="Author photo" height="<c:out
> value="${DATA_PHOTO_HEIGHT}"/>" width="<c:out
> value="${DATA_PHOTO_WIDTH}"/>" />

(sigh) I feared as much. It is just that I hate JSTL tags inside another tag's 
attributes.

Why would you use `src="${imageUrl}"` and then use the clumsy
'c:out' form? What's wrong with `height="${DATA_PHOTO_HEIGHT}"`?

Is there perhaps some useful function taglib?

That said, writing your own tag libs is pretty easy, and worth while if
it's something repetitious.

YMMV,
--
Hassan Schroeder ------------------------ [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to