request.forwarURI给了我解决的uri grails。
myapp/controller/action
request.requestURI在最后给了我一些带有'.dispatch'的中间uri,既不是原始请求路径也不是已解决的路径。
myapp/grails/controller/action.dispatch
如何提交原始请求uri?
myapp/controller/action/_hey/_where/_did/_i/_go.html
请尝试以下方法:
request.getHeader( 'referer' )