1 19 20 package org.netbeans.api.debugger.jpda.testapps; 21 22 import java.util.Vector ; 23 import java.io.PrintWriter ; 24 import java.io.IOException ; 25 26 public final class JspLineBreakpointApp { 27 28 33 public static void main(String [] args) 34 throws IOException { 35 36 37 38 39 StringBuffer sb = new StringBuffer (1024); 40 41 42 try { 43 44 45 46 47 48 49 50 51 52 53 54 sb.append("\r\n"); 55 sb.append("\r\n"); 56 sb.append("\r\n"); 57 sb.append("<html>\r\n"); 58 sb.append(" <head>\r\n"); 59 sb.append(" <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n"); 60 sb.append(" <title>JSP Page</title>\r\n"); 61 sb.append(" </head>\r\n"); 62 sb.append(" <body>\r\n"); 63 sb.append("\r\n"); 64 sb.append(" <h1>Main Page</h1>\r\n"); 65 sb.append(" "); 66 sb.append("<font color=\"red\">\r\n"); 67 sb.append(" INCLUDED from d directory\r\n"); 68 sb.append("</font>"); 69 sb.append("\r\n"); 70 sb.append(" <br/>\r\n"); 71 sb.append(" "); 72 sb.append("<font color=\"blue\">\n"); 73 sb.append(" INCLUDED from <web-root> directory\n"); 74 sb.append("</font>"); 75 sb.append("\r\n"); 76 sb.append(" <br/>\r\n"); 77 sb.append(" "); 78 sb.append("<font color=\"blue\">\n"); 79 sb.append(" INCLUDED from <web-root> directory\n"); 80 sb.append("</font>"); 81 sb.append("\r\n"); 82 sb.append(" \r\n"); 83 sb.append(" </body>\r\n"); 84 sb.append("</html>\r\n"); 85 } catch (Throwable t) { 86 87 88 89 90 91 92 93 94 } 95 } 97 } 98 | Popular Tags |