<g:createLink action="${params.action}" absolute="true"/>It will generate something like taht : http://localhost:8080/fjLearning/training
The params.action variable give us the current action.In our case it's training.
More details about tag createLink on http://grails.org/doc/latest/ref/Tags/createLink.html
No comments:
Post a Comment