The code snippet lives between the <html:form tags />
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 12:56 PM To: Struts Users Mailing List Subject: Re: html:link invalid for DTD??? The slash is okay in the action. Where is exactly this snippet of code in the welcome.jsp?: <html:link action="/welcome"> <html:img page="/images/shop.gif" border="0"/> </html:link> Jeff Beal <[EMAIL PROTECTED]> 21/04/2005 01:10 PM Please respond to "Struts Users Mailing List" To: Struts Users Mailing List <user@struts.apache.org> cc: (bcc: Glenn Deschenes/NAT/CMHC-SCHL/CA) Subject: Re: html:link invalid for DTD??? Classification: Have you tried removing the slash so you just have 'action="welcome"'? I can never remember when the slash is required and when it is not allowed, but I think that for action "names" you don't use the slash. -- Jeff On 4/21/05, Scott Purcell <[EMAIL PROTECTED]> 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 > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]