Re: custom tag and html:rewrite

2006-09-25 Thread Van Stalle
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 {

Re: custom tag and html:rewrite

2006-09-25 Thread Martin Gainty
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- ***