com.cinecolombia.cinecolombia.control.util
Class JSPUtil
java.lang.Object
|
+--com.cinecolombia.cinecolombia.control.util.JSPUtil
- public final class JSPUtil
- extends java.lang.Object
This utility class contains useful methods for web tier components
(JSP, servlets and javabeans) of cinecolombia module.
- Author:
- CincoSOFT
- Created:
- Junio 2003
Method Summary |
static int |
getEventId()
generate unique sequencer |
static void |
putProblemInRequest(javax.servlet.http.HttpServletRequest request,
java.lang.String problem)
method for putting in the current request, the message and the stacktrace
of an exception previously catched |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
eventCounter
private static int eventCounter
JSPUtil
public JSPUtil()
getEventId
public static int getEventId()
- generate unique sequencer
- Returns:
- The eventId value
putProblemInRequest
public static void putProblemInRequest(javax.servlet.http.HttpServletRequest request,
java.lang.String problem)
- method for putting in the current request, the message and the stacktrace
of an exception previously catched
- Parameters:
request
- current requestproblem
- String with the format: messageString|stackTraceString