It is very simple as I am just getting underway with some preliminaries. <global-forwards> <forward name="welcome" path="/welcome.do" redirect="true" /> <forward name="home" path="home.do" redirect="true" /> </global-forwards>
<action-mappings> <action path="/welcome" forward="/jsp/welcome.jsp" /> <action path="/home" forward="/jsp/home.jsp" /> </action-mappings> I basically want to go through the FrontController then to some jsp pages before they log in. Thanks Scott -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 11:38 AM To: Struts Users Mailing List Subject: Re: html:link invalid for DTD??? 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]