[OmniFaces utilities] The
getServletContext()
method returns the servlet context.Method:
See also: Faces#getContext()
Usage:
import
org.omnifaces.util.Faces;
import
javax.servlet.ServletContext;
...
ServletContext
servletContext= Faces.getServletContext();
Niciun comentariu :
Trimiteți un comentariu