• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

reference to external error-page

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,
I would like to use my apache/httpd error page for certain tomcat errors as well (e.g. 404). In the web.xml file though, the directive...

...routes me to http://localhost/projectname/error/404.html.
How would I route to an error page location that's external to the project?
I'm using Apache 1.3.23 and Tomcat 4.1.18 (and mod_jk to route requests to tomcat), if it matters.
 
Saloon Keeper
Posts: 25645
183
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A webapp's expected to be self-contained. The best I can suggest is that your internal error page contain a redirection to the external error page.
 
reply
    Bookmark Topic Watch Topic
  • New Topic