Is it possible to replace the value of a property in Struts2? I want to resolve a mimetype image, and it would be really useful to do something like:
<img src="<s:property value='%{mimetype.replace("/", ".")}'/>" ...
Can I do something on the fly like this?
Thanks!
Yes it's possible ognl allows to use string mehthods directly