removeps-gro...@yahoo.com wrote: > Is it possible for error page from one webapp to direct to another? What I'm > thinking is: > > In mywebservice/WEB-INF/web.xml > > <error-page> > <error-code>404</error-code> > <location>/errors/404.html</location> > </error-page> > > But I want the error page to be > > ROOT/errors/404.html
Can't have that; error pages are internal to the application. It's this way because there are ways to provide data internally (within Tomcat) from the application to the error page, and this couldn't be guaranteed with an external error page. You might get what you're looking for by placing a JavaScript page-reload kludge on the actual error page, which would then instruct the browser to load the new error page from some other location. It might even be possible to change the error page into a proper HTTP redirect (code 3xx) page, which would make the redirect in a cleaner fashion. -- ..Juha --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org