Using <html:img> tag of struts-html-el.tld
843836Jun 28 2004 — edited Jun 29 2004Dear 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.