【发布时间】:2012-10-19 15:48:51
【问题描述】:
在我的 URL 映射中,我想将我的应用程序发送到外部网页 URL 以解决 404 错误。因此,如果我的 404 页面托管在 http://www.myorganisation.com/404.html,我希望我的 URL 映射为:
"404"(uri:"http://www.myorganisation.com/404.html")
但是,这不起作用。我也试过用'url'替换'uri'但没有成功。这甚至可能吗?
【问题讨论】:
标签: grails http-status-code-404 url-mapping