Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Jboss署名をオフにする方法はありますか. URL のつづりが間違っていて、「The requested resource (Invalid path /test was requested) is not available」というエラー メッセージが表示され、このサーバー名とバージョンの下に (JBoss Web /2.1.1.0) が表示されているとします。サーバー名とバージョンは適切なセキュリティ対策です... Jboss 5.1 を使用しています
それが任意の webapp である場合、最良の方法は、エラー jsp または html を記述し、web-console、jmx-console などの場合でも、そのページにリダイレクトすることです。
たとえば、web.xml では次のようになります。
<error-page> <error-code>404</error-code> <location>/the404_page.html</location> </error-page>