Simple and quick one today - what if we need to print stack trace into a String?
-
...
-
e.printStackTrace(pw);
-
pw.flush();
-
-
//use the stackTraceString as you need...
-
}
-
...
Simple and quick one today - what if we need to print stack trace into a String?
Common usage pattern for Beehive Jdbc control is:
The above works fine. But what happens if we would like to use our DB control class from within JSP page which is not part of our Beehive application and has no access to our controller?
The following text presents one possible approach.