xmlBlaster 2.2.0 API

org.xmlBlaster.util.servlet
Class Util

java.lang.Object
  extended by org.xmlBlaster.util.servlet.Util

public class Util
extends java.lang.Object

Common servlet methods

Author:
xmlBlaster@marcelruff.info

Field Summary
private  java.lang.String ME
           
 
Constructor Summary
Util()
           
 
Method Summary
static java.lang.String getParameter(javax.servlet.http.HttpServletRequest req, java.lang.String name, java.lang.String defaultVal)
          Get the request parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ME

private final java.lang.String ME
See Also:
Constant Field Values
Constructor Detail

Util

public Util()
Method Detail

getParameter

public static final java.lang.String getParameter(javax.servlet.http.HttpServletRequest req,
                                                  java.lang.String name,
                                                  java.lang.String defaultVal)
Get the request parameter

Parameters:
req - request from client
name - parameter name
defaultVal - default value if parameter not found
Returns:
The value

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.