Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8432665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:11:23+00:00 2026-06-10T06:11:23+00:00

I am working on grails app and rendering template in root gives an errors.

  • 0

I am working on grails app and rendering template in root gives an errors. Here are the steps taken:

  1. I have a controller ‘public’ that has actions for each page do display…that includes ‘home’ my default page
  2. I changed URL mapping(in UrlMappings.groovy) to point root to my default controller and action as following :
    “/”(controller: ‘public’, view: ‘home’)
  3. Afterwards, pointing to the root ‘app-name/’, i got:

    Class: org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException
    Message: Template not found for name [top_menu] and path [//_top_menu.gsp]

I have template _top_menu.gsp in the view/public/ folder along the home.gsp

It works fine if i point to app-name/public/home, however, not when pointing to root. How come it does not render template in root?

Thank You for helping

p.s.
Grails 2.04. Windows 7

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T06:11:25+00:00Added an answer on June 10, 2026 at 6:11 am

    The UrlMappings should be:

    "/" ( controller:'public', action:'home' )
    

    .. so no “view:’home'”, but “action:’home'”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying for 4 days to get app-engine and grails working together
I'm working through the Grails In Action book and have noticed 2 instances that
I'm working on a Grails web app that would be similar in access patterns
We have an application in Grails 2.0 that we have working when we run
I'm integrating Gigya with a web app running Acegi. I have it working that
I am working with grails. I have created a service that will delete the
I've an basic app that working fine when i'm runngin it with grails run-app
I am currently working on grails project. I have created eight different plugins. Each
I'm working through the Grails in Action book, and I'm stuck at that part
A Grails app I'm working on is becoming pretty big, and it would be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.