Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts2
Class RequestUtils

    java.lang.Object
      org.apache.struts2.RequestUtils

    public class RequestUtils

extends java.lang.Object

Request handling utility class.

Constructor Summary
`RequestUtils()`

Method Summary
`static java.lang.String` | `getServletPath(javax.servlet.http.HttpServletRequest request)` Retrieves the current request servlet path.

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

### getServletPath

    public static java.lang.String getServletPath(javax.servlet.http.HttpServletRequest request)

  Retrieves the current request servlet path. Deals with differences between servlet specs (2.2 vs 2.3+)

  Parameters:
    `request` - the request
  Returns:
    the servlet path

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.