Aware Interfaces
ServletContextAware
The ServletContextAware interface must be implemented by the Action class to store the information in the application scope. It contains only one method setServletContext. Syntax:…
SessionAware
The SessionAware interface must be implemented by the Action class to store the information in the session scope. Method of SessionAware interface It contains only…
ServletActionContext
The ServletActionContext class provides methods to get HttpServletRequest, HttpServletResponse, ServletContext and HttpSession objects. It is a convenient class and prefered than ActionContext class. Methods of…
Aware Interfaces
Struts 2 Aware interfaces are used to put information into the request, response, context or session object. The action class must implement these interfaces to…