Skip to content

Instantly share code, notes, and snippets.

@biemond
Created September 28, 2011 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biemond/1248775 to your computer and use it in GitHub Desktop.
Save biemond/1248775 to your computer and use it in GitHub Desktop.
ExternalContext and ADF
// ExternalContext
ExternalContext ectx = facesCtx.getExternalContext();
// all the java init parameters
Map<String, Object> initParamsVar = ectx.getInitParameterMap();
Map<String, String> requestParamsVar = ectx.getRequestParameterMap();
Map<String, Object> sessionParamsVar = ectx.getSessionMap();
// web application context root
String contextPath = ectx.getRequestContextPath();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment