Пример #1
0
  void printErrorPage(String s) {
    printBodyHeader("Generate Preferences");
    outputStream.println(
        "<p><CENTER><H2></H2></CENTER>\n<HR>There were errors in the entered information.  Use your browser's back button to return\nthe General Preferences form\n");
    String as[] = com.dragonflow.Utils.TextUtils.split(s, "\t");
    outputStream.print("<UL>\n");
    for (int i = 0; i < as.length; i++) {
      if (as[i].length() > 0) {
        outputStream.print("<LI><B>" + as[i] + "</B>\n");
      }
    }

    outputStream.print("</UL><HR></BODY>\n");
  }
Пример #2
0
  void printErrorPage(String s) {
    printBodyHeader("Database Driven Configuration");
    outputStream.println(
        "<p><CENTER><H2>Database Driven Configuration: Error</H2></CENTER>\n<HR><p>There were errors in information or connection.  Use your browser's back button to return\n  to the Configuration Database Preferences form. <hr>\n");
    String as[] = com.dragonflow.Utils.TextUtils.split(s, "\t");
    outputStream.print("<UL>\n");
    for (int i = 0; i < as.length; i++) {
      if (as[i].length() > 0) {
        outputStream.print("<LI><B>" + as[i] + "</B>\n");
      }
    }

    outputStream.print("</UL><HR></BODY>\n");
  }
Пример #3
0
  void printErrorPage(String s) {
    //        outputStream.print("<HEAD><TITLE>" + com.dragonflow.SiteView.TopazInfo.getTopazName()
    // + "/ActiveWatch Console Connection</TITLE>\n" + com.dragonflow.Page.CGI.nocacheHeader +
    // com.dragonflow.SiteView.Platform.charSetTag + "</HEAD>\n" + "<BODY BGCOLOR=#FFFFFF>\n");
    outputStream.println(
        "<p><CENTER><H2></H2></CENTER>\n<HR>There were errors in the entered information.  Use your browser's back button to return\nthe previous form\n");
    String as[] = com.dragonflow.Utils.TextUtils.split(s, "\t");
    outputStream.print("<UL>\n");
    for (int i = 0; i < as.length; i++) {
      if (as[i].length() > 0) {
        outputStream.print("<LI><B>" + as[i] + "</B>\n");
      }
    }

    outputStream.print("</UL><HR></BODY>\n");
  }