public class JSPUtil extends Object
Created by Jeff Gaynor
on 10/12/11 at 3:11 PM
Constructor and Description |
---|
JSPUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
fwd(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String resource)
Forwards a request
|
static String |
getParameter(javax.servlet.http.HttpServletRequest request,
Object key)
Gets a parameter from the request and invokes the objects toString method.
|
static void |
handleException(Throwable t,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String page) |
static boolean |
isEmpty(String x)
Returns if a string is null or of zero length.
|
public static void fwd(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, String resource) throws IOException, javax.servlet.ServletException
req
- res
- resource
- IOException
javax.servlet.ServletException
public static boolean isEmpty(String x)
x
- public static String getParameter(javax.servlet.http.HttpServletRequest request, Object key)
request
- key
- public static void handleException(Throwable t, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String page) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
Copyright © 2019. All Rights Reserved.