List of usage examples for javax.servlet.jsp PageContext REQUEST_SCOPE
int REQUEST_SCOPE
To view the source code for javax.servlet.jsp PageContext REQUEST_SCOPE.
Click Source Link
From source file:org.apache.struts.taglib.bean.TestDefineTag.java
public void testDefineNamePropertyRequestScope() { LabelValueBean lvb = new LabelValueBean("key", TEST_VALUE); pageContext.setAttribute(TEST_KEY, lvb, PageContext.REQUEST_SCOPE); runMyTest("testDefineNamePropertyRequestScope"); }
From source file:org.apache.struts.taglib.bean.TestDefineTag.java
public void testDefineValueRequestScope() { LabelValueBean lvb = new LabelValueBean("key", TEST_VALUE + " this will be set to the correct value"); pageContext.setAttribute(TEST_KEY, lvb, PageContext.REQUEST_SCOPE); runMyTest("testDefineValueRequestScope"); }
From source file:org.apache.struts.taglib.bean.TestMessageTag.java
public void testMessageTagNoArgNamePropertyNoScopeDefaultBundle() { pageContext.setAttribute("key", new SimpleBeanForTesting("default.bundle.message"), PageContext.REQUEST_SCOPE); runMyTest("testMessageTagNoArgNamePropertyNoScopeDefaultBundle", new Locale("", "")); }
From source file:org.apache.struts.taglib.bean.TestMessageTag.java
public void testMessageTagNoArgNamePropertyRequestScopeDefaultBundle() { pageContext.setAttribute("key", new SimpleBeanForTesting("default.bundle.message"), PageContext.REQUEST_SCOPE); runMyTest("testMessageTagNoArgNamePropertyRequestScopeDefaultBundle", new Locale("", "")); }
From source file:org.apache.struts.taglib.bean.TestMessageTag.java
public void testMessageTagNoArgNamePropertyNoScopeAlternateBundle() { pageContext.setAttribute("key", new SimpleBeanForTesting("alternate.bundle.message"), PageContext.REQUEST_SCOPE); runMyTest("testMessageTagNoArgNamePropertyNoScopeAlternateBundle", new Locale("", "")); }
From source file:org.apache.struts.taglib.bean.TestMessageTag.java
public void testMessageTagNoArgNamePropertyRequestScopeAlternateBundle() { pageContext.setAttribute("key", new SimpleBeanForTesting("alternate.bundle.message"), PageContext.REQUEST_SCOPE); runMyTest("testMessageTagNoArgNamePropertyRequestScopeAlternateBundle", new Locale("", "")); }
From source file:org.apache.struts.taglib.bean.TestMessageTag1.java
public void testMessageTag1ArgNamePropertyNoScopeDefaultBundle() { pageContext.setAttribute("key", new SimpleBeanForTesting("default.bundle.message.1"), PageContext.REQUEST_SCOPE); runMyTest("testMessageTag1ArgNamePropertyNoScopeDefaultBundle", new Locale("", "")); }
From source file:org.apache.struts.taglib.bean.TestMessageTag1.java
public void testMessageTag1ArgNamePropertyRequestScopeDefaultBundle() { pageContext.setAttribute("key", new SimpleBeanForTesting("default.bundle.message.1"), PageContext.REQUEST_SCOPE); runMyTest("testMessageTag1ArgNamePropertyRequestScopeDefaultBundle", new Locale("", "")); }
From source file:org.apache.struts.taglib.bean.TestMessageTag1.java
public void testMessageTag1ArgNamePropertyNoScopeAlternateBundle() { pageContext.setAttribute("key", new SimpleBeanForTesting("alternate.bundle.message.1"), PageContext.REQUEST_SCOPE); runMyTest("testMessageTag1ArgNamePropertyNoScopeAlternateBundle", new Locale("", "")); }
From source file:org.apache.struts.taglib.bean.TestMessageTag1.java
public void testMessageTag1ArgNamePropertyRequestScopeAlternateBundle() { pageContext.setAttribute("key", new SimpleBeanForTesting("alternate.bundle.message.1"), PageContext.REQUEST_SCOPE); runMyTest("testMessageTag1ArgNamePropertyRequestScopeAlternateBundle", new Locale("", "")); }