Grails: URL mapping - how to pass file extension ?

Posted by Olexandr on Stack Overflow See other posts from Stack Overflow or by Olexandr
Published on 2010-03-31T10:52:06Z Indexed on 2010/03/31 10:53 UTC
Read the original article Hit count: 336

Filed under:
|

Hi.

I have some folder with different files. I want to use something like this: http://myserver.com/foo/bar/test.html

I'm using this way to obtain path:

"/excursion/$path**" (controller:"excursion", action:"sweet")

But it doesn't helps with file extensions... How to disable file extensions truncating ?

© Stack Overflow or respective owner

Related posts about grails

Related posts about url-mapping