Top "Gsp" questions

Groovy Server Pages (GSP) is a presentation language for web applications, similar to JSP.

How to attemp sec:loggedInUserInfo into a variable in gsp

I want to get value of sec:loggedInUserInfo and attempt into a variable named user. My code looks like this: &…

grails gsp
GSP tags in JavaScript

I had the following in the <head> of a GSP <script type="text/javascript> $("button.remove-item").…

javascript grails gsp
Adding a class to html element conditionally with grails tags

With tags, you can do this in a gsp: <g:if test="${someBean?.aCondition}"> <div class="aSection"&…

grails gsp