Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

JBoss でカスタムのエラーページを設定する方法

Solution Verified - Updated -

Issue

  • web アプリケーションでカスタムのエラーページを使用する方法を教えてください。
  • 例外が発生した際、エンドユーザーに見せたくない情報が表示されてしまいます。
  • 404 や 500 のようなエラーを JBoss EAP ではどのように共通に扱うには、どのようにすれば良いですか?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 5.x, 6.x
  • Red Hat JBoss Enterprise Web Server (EWS) 2.x
    • Tomcat 6.x, 7.x
  • Red Hat JBoss Web Server (JWS) 3.x
    • Tomcat 7.x, 8.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.