org.apache.velocity.tools.view.servlet
Class ServletUtils

java.lang.Object
  extended by org.apache.velocity.tools.view.servlet.ServletUtils

public class ServletUtils
extends java.lang.Object

A set of utility methods for the servlet environment.

Version:
$Id: ServletUtils.java 471244 2006-11-04 18:34:38Z henning $

Constructor Summary
ServletUtils()
           
 
Method Summary
static java.lang.String getPath(javax.servlet.http.HttpServletRequest request)
          Retrieves the path for the specified request regardless of whether this is a direct request or an include by the RequestDispatcher.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletUtils

public ServletUtils()
Method Detail

getPath

public static java.lang.String getPath(javax.servlet.http.HttpServletRequest request)
Retrieves the path for the specified request regardless of whether this is a direct request or an include by the RequestDispatcher.



Copyright (c) 2003-2007 Apache Software Foundation