public class ServletUtils extends Object
Constructor and Description |
---|
ServletUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
expandRelative(ServletConfig config,
String text)
Expands a string that points to a relative path or path list,
leaving it as an absolute path based on the servlet context.
|
public ServletUtils()
public static String expandRelative(ServletConfig config, String text)
config
- The ServletConfig.text
- The String containing a path or path list.Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.