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 EAP 5.1 应用程序服务器,尝试在应用程序关闭或重新启动时显示默认 HTML(错误页面)。实现此目的在服务器级别需要什么配置?
您可以在位于的全局 web.xml 中为 EAP 4/5 上的所有应用程序配置自定义错误页面$JBOSS_HOME/server/$PROFILE/deployer/jbossweb.deployer/web.xml
$JBOSS_HOME/server/$PROFILE/deployer/jbossweb.deployer/web.xml