docs: public void doProcessOutput(BasicServlet servlet, HttpServletRequest req, HttpServletResponse res, PrintWriter outExt, ScreenModel screen) 
          throws ServletException, IOException
      {
          PrintWriter out = outExt;
          if (screen == null)
          {
          	if (out != null)
          		out.println("Error: default screen not available");
          }
          else
          {
              try
              { // create and execute the query
                  // if no parameters, just print the form
                  String strDatatype = this.getProperty(DBParams.DATATYPE); // Raw data (such as in image from the DB)
                  if (strDatatype == null)
                  {
                      if (out == null)
                          out = servlet.getOutputStream(res); // Always
                      ((ScreenModel)screen).printReport(out);
                  }
                  else
                  {       // Raw data output
                      ((ScreenModel)screen).getScreenFieldView().sendData(req, res);
                  }
                  screen.free();
                  screen = null;
              }
              catch (DBException ex) {
                  if (out != null)
                  {
                      out.println("<hr>*** SQLException caught ***<p>");
                      out.println("Message:  " + ex.getMessage() + "<br>");
                      ex.printStackTrace(out);
                  }
                  ex.printStackTrace();
              }
              catch (java.lang.Exception ex) {
                  ex.printStackTrace();
              } finally {
              	if (outExt == null)
              		if (out != null)
              			out.close();
              }
          }
      }