Translated message

A translation of this page exists in English.

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content