Example usage for javax.servlet.jsp PageContext REQUEST_SCOPE

List of usage examples for javax.servlet.jsp PageContext REQUEST_SCOPE

Introduction

In this page you can find the example usage for javax.servlet.jsp PageContext REQUEST_SCOPE.

Prototype

int REQUEST_SCOPE

To view the source code for javax.servlet.jsp PageContext REQUEST_SCOPE.

Click Source Link

Document

Request scope: the named reference remains available from the ServletRequest associated with the Servlet until the current request is completed.

Usage

From source file:org.apache.struts.taglib.bean.TestMessageTag2_fr.java

public void testMessageTag2ArgNamePropertyNoScopeAlternateBundle_fr() {
    pageContext.setAttribute("key", new SimpleBeanForTesting("alternate.bundle.message.2"),
            PageContext.REQUEST_SCOPE);
    runMyTest("testMessageTag2ArgNamePropertyNoScopeAlternateBundle", new Locale("fr", "fr"));
}

From source file:org.apache.struts.taglib.bean.TestMessageTag2_fr.java

public void testMessageTag2ArgNamePropertyRequestScopeAlternateBundle_fr() {
    pageContext.setAttribute("key", new SimpleBeanForTesting("alternate.bundle.message.2"),
            PageContext.REQUEST_SCOPE);
    runMyTest("testMessageTag2ArgNamePropertyRequestScopeAlternateBundle", new Locale("fr", "fr"));
}

From source file:org.apache.struts.taglib.bean.TestMessageTag3.java

public void testMessageTag3ArgNamePropertyNoScopeDefaultBundle() {
    pageContext.setAttribute("key", new SimpleBeanForTesting("default.bundle.message.3"),
            PageContext.REQUEST_SCOPE);
    runMyTest("testMessageTag3ArgNamePropertyNoScopeDefaultBundle", new Locale("", ""));
}

From source file:org.apache.struts.taglib.bean.TestMessageTag3.java

public void testMessageTag3ArgNamePropertyRequestScopeDefaultBundle() {
    pageContext.setAttribute("key", new SimpleBeanForTesting("default.bundle.message.3"),
            PageContext.REQUEST_SCOPE);
    runMyTest("testMessageTag3ArgNamePropertyRequestScopeDefaultBundle", new Locale("", ""));
}

From source file:org.apache.struts.taglib.bean.TestMessageTag3.java

public void testMessageTag3ArgNamePropertyNoScopeAlternateBundle() {
    pageContext.setAttribute("key", new SimpleBeanForTesting("alternate.bundle.message.3"),
            PageContext.REQUEST_SCOPE);
    runMyTest("testMessageTag3ArgNamePropertyNoScopeAlternateBundle", new Locale("", ""));
}

From source file:org.apache.struts.taglib.bean.TestMessageTag3.java

public void testMessageTag3ArgNamePropertyRequestScopeAlternateBundle() {
    pageContext.setAttribute("key", new SimpleBeanForTesting("alternate.bundle.message.3"),
            PageContext.REQUEST_SCOPE);
    runMyTest("testMessageTag3ArgNamePropertyRequestScopeAlternateBundle", new Locale("", ""));
}

From source file:org.apache.struts.taglib.bean.TestMessageTag3_fr.java

public void testMessageTag3ArgNamePropertyNoScopeDefaultBundle_fr() {
    pageContext.setAttribute("key", new SimpleBeanForTesting("default.bundle.message.3"),
            PageContext.REQUEST_SCOPE);
    runMyTest("testMessageTag3ArgNamePropertyNoScopeDefaultBundle", new Locale("fr", "fr"));
}

From source file:org.apache.struts.taglib.bean.TestMessageTag3_fr.java

public void testMessageTag3ArgNamePropertyRequestScopeDefaultBundle_fr() {
    pageContext.setAttribute("key", new SimpleBeanForTesting("default.bundle.message.3"),
            PageContext.REQUEST_SCOPE);
    runMyTest("testMessageTag3ArgNamePropertyRequestScopeDefaultBundle", new Locale("fr", "fr"));
}

From source file:org.apache.struts.taglib.bean.TestMessageTag3_fr.java

public void testMessageTag3ArgNamePropertyNoScopeAlternateBundle_fr() {
    pageContext.setAttribute("key", new SimpleBeanForTesting("alternate.bundle.message.3"),
            PageContext.REQUEST_SCOPE);
    runMyTest("testMessageTag3ArgNamePropertyNoScopeAlternateBundle", new Locale("fr", "fr"));
}

From source file:org.apache.struts.taglib.bean.TestMessageTag3_fr.java

public void testMessageTag3ArgNamePropertyRequestScopeAlternateBundle_fr() {
    pageContext.setAttribute("key", new SimpleBeanForTesting("alternate.bundle.message.3"),
            PageContext.REQUEST_SCOPE);
    runMyTest("testMessageTag3ArgNamePropertyRequestScopeAlternateBundle", new Locale("fr", "fr"));
}