Scott Purcell wrote:

As soon as I try and create this shop image into a link like so.....
<html:link action="/welcome">
         <html:img page="/images/shop.gif" border="0"/>
       </html:link>

I get this error message:
org.apache.jasper.JasperException: /jsp/welcome.jsp(34,7) Attribute action invalid for tag link according to TLD

I am looking at the docs here: http://struts.apache.org/userGuide/struts-html.html#link


and there are no "REQUIRED" attributes.


Nothing says anything about missing a required attribute, it says you're using an invalid one. Which is, actually, just as weird, because "action" is a perfectly valid attribute for html:link. Common, in fact.

Also, how would I know what DTD this is using?


TLD? Because when you have your JSP page at the top you have a <%@ taglib...%> directive in which you specify the TLD for the html taglib, no?

Dave



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



Reply via email to