I am making a Grails application for a school project and I have run across a problem.
When using <g:set>
nothing appears at all on the web page my gsp generates.
Here is my full profile.gsp
<!DOCTYPE html>
<html>
<head>
<title>Personably</title>
</head>
<g:set value="${person}" var="person" scope="page">
<body>
<div class="profile">
${person.name} <br/>
${person.school}, ${person.major}
</div>
</body>
</g:set>
</html>
See the documentation of Set tag. In your use case the tag does not take a body, but instead is self-closing, i.e.: