0
在Grails 1.0.3版本中顯示控制器列表,當url被放置在瀏覽器中時。但目前它沒有找到/index.gsp。 類UrlMappings {升級到Grails 2.4.4:找不到/index.gsp
static mappings = {
"/$controller/$action?/$id?(.$format)?"{
constraints {
// apply constraints here
}
}
"/"(view:"/index")
"500"(view:'/error')
}
這是我的urlMappings.groovy。請給我解決方案,以避免這個問題。