Bur*_*ith 28
您可以指定以下uri内容'/':
<a href="${createLink(uri: '/')}">link text</a>
Run Code Online (Sandbox Code Playgroud)
尝试
createLink(absolute : 'true')
Run Code Online (Sandbox Code Playgroud)
这应该指向http://localhost:8080/yourproject/(默认设置)