Hello¡¡

I need to use something like this:

<html:img src="<myproject:path />/img/t.gif" width="202" height="1" />

I mean... i need an image, but i need to reference my project's context. To do 
this, i have a tag (myproject:path) that write the request's context

something like this in my tld:

JspWriter jw = this.pageContext.getOut();
jw.write(req.getContextPath());

My questions are...
Can i use this tag inside property "src" in html:img struts's tag ?
        If i write this, tag doesn't work¡¡  src="<myproject:path />/img/t.gif" 
        If i write this, tag doesn't work¡¡  src='<myproject:path />/img/t.gif'

How can i write my project's context in html:img struts's tag so it can find my 
images???



Thanks in advance...

Reply via email to