Hi, I prepared the error404.jsp (simply typed in a warning sentence) and placed the file in the AppName/WEB-INF/web.xml file this way:
<welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> <error-page> <error-code>404</error-code> <location>/error404.jsp</location> </error-page> <!-- taglibs --> <taglib> <taglib-uri>/tags/struts-bean</taglib-uri> <taglib-location>/WEB-INF/lib/struts-bean.tld</taglib-location> </taglib> I tested mis-typing. But, my sentence; i.e. the error page that I prepared does not show up. Would you be more clear about "map this condition directly to a Struts action or URL mapped directly to a servlet." in the servlet 2.4 environment? I still do not have any idea about how the mapping should be done in the struts-config.xml file. --- Craig McClanahan <[EMAIL PROTECTED]> wrote: > On Wed, 15 Sep 2004 13:06:01 -0400, Bill Siggelkow > <[EMAIL PROTECTED]> wrote: > > Place this stancza below your welcome-file-list in > your web.xml. You can > > use a static HTML page or a JSP. > > > > <error-page> > > <error-code>404</error-code> > > <location>/error404.jsp</location> > > </error-page> > > > > In a servlet 2.4 environment, you could also map > this condition > directly to a Struts action or URL mapped directly > to a servlet. > > > -Bill Siggelkow > > > > Craig > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]