Avoiding .gsp extention in a GSP Page Without a Controller
Posted
by Guy
on Stack Overflow
See other posts from Stack Overflow
or by Guy
Published on 2010-05-10T09:06:33Z
Indexed on
2010/05/10
9:14 UTC
Read the original article
Hit count: 392
grails
Using grails 1.2.1 this should be very simple, but still I can't get it to work.
In my application /grails-app/views I've added mypage.gsp
Plus
"/mypage"(view:"mypage")
to the mappings block of my URLMapping class.
while
http://server-name:8080/myapp/mypage.gsp
works
I'm still getting 404 - page not found when I try to open
http://server-name:8080/myapp/mypage
Thanks, Guy
© Stack Overflow or respective owner