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

Compare with Current View Page History

« Previous Version 92 Next »

FOM: The Context Object

---methods---

  • getAttribute(name)
  • getAttributeNames()
  • setAttribute(name,value)
  • removeAttribute(name)
  • getInitParameter(name)

---properties---
[name] -> maps to the attribute indicates with the name

For example context.blah is equivalent to context.getAttribute("blah")

or as alternative:

[name] -> maps to the attribute indicates with the name

For example context.blah is equivalent to context.getInitParameter("blah")

  • No labels