Example usage for javax.servlet.jsp JspContext findAttribute

List of usage examples for javax.servlet.jsp JspContext findAttribute

Introduction

In this page you can find the example usage for javax.servlet.jsp JspContext findAttribute.

Prototype


abstract public Object findAttribute(String name);

Source Link

Document

Searches for the named attribute in page, request, session (if valid), and application scope(s) in order and returns the value associated or null.

Usage

From source file:org.lightadmin.core.view.tags.AbstractAutowiredTag.java

@Override
public void setJspContext(JspContext context) {
    super.setJspContext(context);

    AutowireCapableBeanFactory beanFactory = (AutowireCapableBeanFactory) context
            .findAttribute(ApplicationController.BEAN_FACTORY_KEY);
    beanFactory.autowireBean(this);
}