For example, i can put
inside a .gsp file and it will work nicely.
Bu
You can use taglib methods from Grails controllers, for example:
def userShow = g.createLink(controller:"user", action:"show")
For builtin taglibs (or those in the g namespace) you can omit the namespace prefix in the method call.