Groovy
  1. Groovy
  2. GROOVY-1200

include appropriate JSP 2.0/EL implicit variables in Groovlets

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0-JSR-4
    • Fix Version/s: None
    • Component/s: Groovlet / GSP
    • Labels:

      Description

      While we're making life easier for the developer we should also add familiar JSP 2.0/el objects where appropriate.

      looking at: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro7.html, we see these variables

      • param: Maps a request parameter name to a single value
      • paramValues: Maps a request parameter name to an array of values
      • header: Maps a request header name to a single value
      • headerValues: Maps a request header name to an array of values
      • cookie: Maps a cookie name to a single cookie
      • initParam: Maps a context initialization parameter name to a single value

      Finally, there are objects that allow access to the various scoped variables described in Using Scope Objects.

      • pageScope: Maps page-scoped variable names to their values
      • requestScope: Maps request-scoped variable names to their values
      • sessionScope: Maps session-scoped variable names to their values
      • applicationScope: Maps application-scoped variable names to their values

      Out of these i think it makes sense to have:
      param,paramValues,header,headerValues,cookie,requestScope,sessionScope,applicationScope

        Activity

        Demis Bellot created issue -
        Guillaume Delcroix made changes -
        Field Original Value New Value
        Assignee Guillaume Laforge [ guillaume ]
        Jochen Theodorou made changes -
        Assignee Guillaume Laforge [ guillaume ]
        Pascal Schumacher made changes -
        Assignee Guillaume Laforge [ guillaume ]
        Pascal Schumacher made changes -
        Labels contrib
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12730344 ] Default workflow, editable Closed status [ 12742332 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12968766 ] Default workflow, editable Closed status [ 12976535 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Demis Bellot
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development