public class ServletUtils extends Object
Constructor and Description |
---|
ServletUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
expandRelative(javax.servlet.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(javax.servlet.ServletConfig config, String text)
config
- The ServletConfig.text
- The String containing a path or path list.Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.