What does the Action Mapping look like for /welcome ?




"Scott Purcell" <[EMAIL PROTECTED]>
21/04/2005 12:07 PM
Please respond to "Struts Users Mailing List"




 
        To:     <user@struts.apache.org>
        cc:     (bcc: Glenn Deschenes/NAT/CMHC-SCHL/CA)

        Subject:        html:link invalid for DTD???
 Classification: 
 


Hello,

I am creating a new site, and I am having trouble interpreting an error 
message:
I have a jsp page with the following html:img in it.
<html:img page="/images/shop.gif" border="0"/>
and this shows the image with the context and all is happy.

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
 
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)

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

and there are no "REQUIRED" attributes.

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

Any help would be appreciated.

Thanks,
Scott


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



Reply via email to