Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.servlet.util
Class RequestUtils

java.lang.Object
  |
  +--oracle.cabo.servlet.util.RequestUtils

public class RequestUtils
extends java.lang.Object

Utilities for working with the ServletRequest API.


Constructor Summary
RequestUtils()
           
 
Method Summary
static void setAttribute(BajaContext context, java.lang.String key, java.lang.Object value)
          Provides access to ServletRequest.setAttribute() in environments that may not actually support this function, but do support JSPs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestUtils

public RequestUtils()
Method Detail

setAttribute

public static void setAttribute(BajaContext context,
                                java.lang.String key,
                                java.lang.Object value)
Provides access to ServletRequest.setAttribute() in environments that may not actually support this function, but do support JSPs.

Note that this function currently fails if we're running with Servlet 2.0 and do not have access to a PageContext object. Developers using Servlet 2.1 (or better) implementations are not affected at all. In practice, this means developers using Apache JServ should enter the UIX Controller via a JSP and JspBajaContext, but again this does not apply at all to developers using a more modern servlet engine.

Parameters:
context - the BajaContext
key - the string key used to retrieve the value
value - the value to store

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.