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 Object

Request handling utility class.

Constructor Summary
`RequestUtils()`

Method Summary
`static String` | `getServletPath(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 String getServletPath(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-2007 Apache Software Foundation. All Rights Reserved.