Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

GSP(GroovyServer Pages) is similar to JSP(JavaServer Pages).

  • Error rendering macro 'link' : Link needs a name and a URL as arguments.

GSP Module Project has started originally by Troy Heninger.

Troy's GroovyPages project page is

The original sources of GSP module 1.1 can be found at Groovy CVS:
Now here is a new GSP progect page:

Sample GSP: AttributeTest.gsp

Error rendering macro 'code': Invalid value specified for parameter 'lang'
    if (session.counter == null)
        session.counter = 1

    session.setAttribute("id", "tmpID")
    session.setAttribute("uid", "userID")

    request.x = 123
    application.x = 500

    if (application.counter == null)
        application.counter = 1


application.counter =  [${application.counter}] <br>
session.counter =  [${session.counter}] <br> = [${}] <br>
session.uid = [${session.uid}] <br>
session.getAttribute('id') = [${session.getAttribute('id')}] <br>
request.x = [${request.x}] <br>
(application.x == null ?) = [${application.x == null}] <br>
application.x = [${application.x}] <br>


  • No labels