0 Replies Latest reply on Feb 6, 2017 6:06 AM by imran kham

    customize 400 error message

    imran kham Newbie

      cow to configure jbos5

      to modify  the "bad request " messge for error code 400.

       

      i am getting jboss stack  trace

        <head>

              <title>JBoss Web/2.1.3.GA - Error report</title>

              <style>

                  <!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}-->

              </style>

          </head>

          <body>

              <h1>HTTP Status 400 - Bad Request</h1>

              <HR size="1" noshade="noshade">

              <p>

                  <b>type</b> Status report

              </p>

              <p>

                  <b>message</b>

                  <u>Bad Request</u>

              </p>

              <p>

                  <b>description</b>

                  <u>The request sent by the client was syntactically incorrect (Bad Request).</u>

              </p>

              <HR size="1" noshade="noshade">

              <h3>JBoss Web/2.1.3.GA</h3>

          </body>

      </html>

       

       

       

      i want customise message.

      plz help