com.cinecolombia.interfases.control.util
Class JSPUtil

java.lang.Object
  |
  +--com.cinecolombia.interfases.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 interfases module.

Author:
CincoSOFT
Created:
Mayo 2003

Field Summary
private static int eventCounter
           
 
Constructor Summary
JSPUtil()
           
 
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
 

Field Detail

eventCounter

private static int eventCounter
Constructor Detail

JSPUtil

public JSPUtil()
Method Detail

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 request
problem - String with the format: messageString|stackTraceString