Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ezhov-da/e6ff027f119c0158d3153f9222b440c3 to your computer and use it in GitHub Desktop.
Save ezhov-da/e6ff027f119c0158d3153f9222b440c3 to your computer and use it in GitHub Desktop.
сервлеты на groovy неявные переменные
[https://www.ibm.com/developerworks/ru/library/j-pg03155/index.html]
Неявные переменные:
request ServletRequest -
response ServletResponse -
context ServletContext -
application ServletContext -
session getSession(false) can be null! see <1>
params a Map object
headers a Map object
out response.getWriter() see <2>
sout response.getOutputStream() see <2>
html new MarkupBuilder(out) see <2>
json new StreamingJsonBuilder(out) see <2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment