On Mon, 08 Nov 2004 18:05, Manish wrote: > How can I have a global 404 error template in using Velocity-Struts?
You don't. A 404 is really a function of Tomcat or your JSP runner. You can configure your own messages if you wish within your web.xml. You can have your 404 error point to a error.jsp or a error.vm, or even a error.do. Its just a matter of configuration of the web.xml to point to the appropriate URL. As an example here is the error redirect for our web application from web.xml: <error-page> <error-code>404</error-code> <location>/errorpage.do</location> </error-page> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]