I'm using Jetty. I'll try this *more*, hm...
Paul McMahan-2 wrote: > > Not sure which flavor and version of Geronimo you are using, but > using the Geronimo+Tomcat 2.0.1 server I was able to accomplish this > by following these steps: > - add that chunk of text from your message to var/catalina/ROOT/WEB- > INF/web.xml > - create my404error.jsp in var/catalina/ROOT > - undeploy Geronimo's welcome app (use the admin console, or bin/ > deploy.sh undeploy org.apache.geronimo.configs/welcome-tomcat//car) > - restart the server > > This is rather complicated because the welcome app is assigned to the > '/' context until you undeploy it, and then tomcat component needs to > be restarted before it assigns the ROOT app back to handling the '/' > context. > > Best wishes, > Paul > > On Sep 5, 2007, at 2:50 PM, appel wrote: > >> >> >> I tried adding this into web.xml for the ROOT context: >> <error-page> >> <error-code>404</error-code> >> <location>/my404error.jsp</location> >> </error-page> >> >> but http://myserver/blablablbladoesnotexist still displays the >> built-in >> 404. >> -- >> View this message in context: http://www.nabble.com/Custom-404- >> message--tf4385351s134.html#a12508604 >> Sent from the Apache Geronimo - Users mailing list archive at >> Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/Custom-404-message--tf4385351s134.html#a12509737 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
