Martin,
I found the solution myself; here is the code: this gives me an url which is
valid in the context of my application.
Thanks for your response,
Jan
import org.apache.struts.taglib.TagUtils;
...
TagUtils utils = TagUtils.getInstance();
String img = null;
try {
Hello Jan-
I found this page to be quite helpful when manipulating image attributes
http://jakarta.apache.org/taglibs/sandbox/doc/image-doc/index.html#image
Here is the javadoc for the doStartTag
http://jakarta.apache.org/taglibs/sandbox/doc/image-doc/javadoc/index.html
M-
***
2 matches
Mail list logo