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.TestMessageTag4.java

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

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

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

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

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

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

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

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

public void testMessageTag4ArgNamePropertyNoScopeDefaultBundle_fr() {
    pageContext.setAttribute("key", new SimpleBeanForTesting("default.bundle.message.4"),
            PageContext.REQUEST_SCOPE);
    runMyTest("testMessageTag4ArgNamePropertyNoScopeDefaultBundle", new Locale("fr", "fr"));
}

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

public void testMessageTag4ArgNamePropertyRequestScopeDefaultBundle_fr() {
    pageContext.setAttribute("key", new SimpleBeanForTesting("default.bundle.message.4"),
            PageContext.REQUEST_SCOPE);
    runMyTest("testMessageTag4ArgNamePropertyRequestScopeDefaultBundle", new Locale("fr", "fr"));
}

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

public void testMessageTag4ArgNamePropertyNoScopeAlternateBundle_fr() {
    pageContext.setAttribute("key", new SimpleBeanForTesting("alternate.bundle.message.4"),
            PageContext.REQUEST_SCOPE);
    runMyTest("testMessageTag4ArgNamePropertyNoScopeAlternateBundle", new Locale("fr", "fr"));
}

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

public void testMessageTag4ArgNamePropertyRequestScopeAlternateBundle_fr() {
    pageContext.setAttribute("key", new SimpleBeanForTesting("alternate.bundle.message.4"),
            PageContext.REQUEST_SCOPE);
    runMyTest("testMessageTag4ArgNamePropertyRequestScopeAlternateBundle", new Locale("fr", "fr"));
}

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

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

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

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