<%@ taglib uri="/tags/struts-html" prefix="html" %>

in the beginning of my JSP.

This statement that makes an image clickable:
<td nowrap><%if ( previousTopic != 0 ) {%><a
href="viewthread?thread=<%=previousTopic%>"><html:img
page="/article/common/images/left.gif" border="0"
alt="[previous topic]"></a><%}%></td>

gives me an error message:
/article/content/viewpostings.jsp(163,101) According
to TLD, tag html:img must be empty, but is not'

I have checked two things:

1. the JSP works if I replace the <html:img ...> tag
with some text:

<td nowrap><%if ( previousTopic != 0 ) {%><a
href="viewthread?thread=<%=previousTopic%>">[previous
topic]</a><%}%></td>  

2. the image left.gif ( I have checked the spelling
and the extension) is in the
MyApplication/article/common/images directory.

I do not understand the error message.  Please help.



                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to