Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using <html:img> tag of struts-html-el.tld

843836Jun 28 2004 — edited Jun 29 2004
Dear All,

My application involves the use of an expression to get the value of "src" attribute in <html:img> tag dynamically.

I am using the struts-html-el.tld. I get an error saying that the attribute src cannot accomodate expressions.

But the above works fine if I use struts-html.tld.

Later I worked out an alternative of opening the struts-html-el.tld and then explicitly changing the value of rtexprvalue of "src" of img in the tld file to true instead of false.

Things worked fine. Can any one suggest me an other alternative, as I read through the lines that the
struts-expression language uses the expression evaluation engine instead of the rtexpr evaluation.


So I wanted to know how far the change done by me in the tld file is acceptable.

I am using JSTL 1.1.

Thanking u in anticipation.

regards,
Mohan.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 27 2004
Added on Jun 28 2004
3 comments
253 views