groovy - grails app root context -


I have a Test Gallery app setup with a reference to "test test" when I add a link to my GSP Reference / this does not go into the root of my grails.app.context, but in the root of my grails.serverURL property.

Href with a link for example "/css/main.css"

I hope it will show the link Sthaniyhost: localhost instead of 8080 / testapp / css / Main.css: 8080 / css / main.css

Is there a way that I can get started / reference to my grails.app.context vs. grails.serverURL?

The question is how can you add your links to your GPS?

We do such a thing

  & lt; Link rel = "stylesheet" href = "$ {resource (dir: 'css', file: 'stylesheet1.css')}" />  

and

  & lt; G: javascript library = "prototype" />  

using j: javascript and resource tags and methods, you can specify the paths to set the path for you ...

I suspect that you are only putting the standard tag in ...

goto

And, under the tag in the left hand NAV To find an idea, find the resource and / or JavaScript (to make it hard to link directly to the docs ...: ()


Comments