com.instantbank.servicing.control.util
Class JSPUtil

java.lang.Object
  |
  +--com.instantbank.servicing.control.util.JSPUtil

public final class JSPUtil
extends java.lang.Object

This utility class for web tier components (namely Java Server Pages and JavaBeans). This class provides a central location to do specialized formatting in both a default and a locale specific manner.

Author:
Instant-bank (Consuelo Franky)

Field Summary
private static int eventCounter
           
 
Constructor Summary
JSPUtil()
           
 
Method Summary
static int getEventId()
          genera secuenciador unico
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, registerNatives, toString, wait, wait, wait
 

Field Detail

eventCounter

private static int eventCounter
Constructor Detail

JSPUtil

public JSPUtil()
Method Detail

getEventId

public static int getEventId()
genera secuenciador unico
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