jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • groovy
  • GROOVY-1200

include appropriate JSP 2.0/EL implicit variables in Groovlets

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

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

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

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Guillaume Laforge
    Reporter:
    Demis Bellot
Vote (0)
Watch (0)

Dates

  • Created:
    04/Jan/06 6:10 PM
    Updated:
    21/Dec/09 7:36 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.