Below is the generated html code:
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3
4 <html>
5 <head>
6 <meta name="generator" content=
7 "HTML Tidy for Java (vers. 26 Sep 2004), see www.w3.org">
8
9 <title>JTidy servlet extension - Live examples</title>
10 <meta http-equiv="Expires" content="-1">
11 <meta http-equiv="Pragma" content="no-cache">
12 <meta http-equiv="Cache-Control" content="no-cache">
13 <meta http-equiv="Content-Type" content=
14 "text/html; charset=ISO-8859-1">
15 <meta name="author" content="Vlad Skarzhevskyy">
16 <meta name="email" content="vlads(at)users.sourceforge.net">
17 <link rel="stylesheet" href="./styles/examples.css" type=
18 "text/css" media="all"><style type="text/css" media="all">
19 @import url("./styles/maven-base.css");
20 @import url("./styles/maven-theme.css");
21 </style>
22 <script type="text/javascript" src="./js/timeZoneDetection.js">
23 </script>
24 </head>
25
26 <body onload="setTimezoneOffsetCookie()">
27 <div id="banner">
28 <a href="http://sourceforge.net" id="organizationLogo"><img
29 alt="sourceforge" src=
30 "http://sourceforge.net/sflogo.php?group_id=13153&type=2"></a>
31 <a href="http://jtidy.sourceforge.net" id="projectLogo"><img
32 alt="JTidy Servlet" src="./images/logo.png"></a>
33
34 <div class="clear">
35 <hr>
36 </div>
37 </div>
38
39 <div id="breadcrumbs">
40 <div class="xleft">
41 JTidy servlet extension - Live examples <span class=
42 "separator">|</span> <a href="index.jsp">Examples Home</a>
43 <span class="separator">|</span> <a href=
44 "http://jtidy.homelinux.net/" class=
45 "externalLink">Documentation</a>
46 </div>
47
48 <div class="xright">
49 RequestID: 52 <span class="separator">|</span> Time:
50 14:44:45 GMT+00:00
51 </div>
52
53 <div class="clear">
54 <hr>
55 </div>
56 </div>
57
58 <div id="backDiv">
59 <a href="javascript:history.go(-1)"><img alt="Back" src=
60 "./images/back.gif"></a>
61 </div>
62
63 <div id="showsourceDiv">
64 <a href=
65 "/jtidyservlet-webapp/example-validate-upload.jsp.source">View
66 JSP Source</a><br>
67 <a href=
68 "/jtidyservlet-webapp/JTidy?result=1&requestID=52&action=report">This
69 HTML Source</a>
70 </div>
71
72 <div id="JTidyValidationImageDiv">
73 <script type="text/javascript">
74
75 function showJTidyReport_iframe() {
76 if ((ppJTidyReport != null) && (ppJTidyReport.ppmShow != null)) {
77 return ppJTidyReport.ppmShow();
78 } else {
79 // No frame support or some other error
80 return true;
81 }
82 }
83
84 </script>
85 <a name="JTidyValidationImageCommonLink" id=
86 "JTidyValidationImageCommonLink" href=
87 "/jtidyservlet-webapp/JTidy?requestID=52&action=report&src=1"
88 onclick="this.blur();return showJTidyReport_iframe();"><img
89 name="JTidyValidationImageCommon" id=
90 "JTidyValidationImageCommon" alt="Page Validation" src=
91 "/jtidyservlet-webapp/JTidy?requestID=52&action=image"
92 width="32" height="26"></a> <iframe name="ppJTidyReport" id=
93 "ppJTidyReport" src="./iframe_main.jsp?requestID=52"
94 scrolling="no" frameborder="0" style=
95 "visibility:hidden; z-index:999; left:50px; position:absolute;">Sory
96 No support for iframe in your browser</iframe>
97 </div>
98
99 <div id="body">
100 <h3>Validate by File Upload</h3>
101 This form allows you to upload files from your computer and
102 have them validated using jtidy
103
104 <form name="uploadForm" method="post" action=
105 "/jtidyservlet-webapp/example-validate-upload.jsp" enctype=
106 "multipart/form-data">
107 Please select the file that you would like to upload:<br>
108
109 <input type="file" name="htmlFile" value="" size="30"><br>
110
111 <input type="submit" value="Validate this file">
112 </form>
113 <!-- This will disable tidy Processing since current Tidy is corrupting HTML -->
114 <br>
115 N.B. there are bug in development version of jtidy so the
116 HTML output of this page is not the JTidy output. We used
117 <code><jtidy:pass/></code> tag.
118 </div>
119
120 <div id="firefox">
121 <a href=
122 "http://www.spreadfirefox.com/?q=affiliates&id=0&t=68"><img
123 border="0" alt="Get Firefox!" title="Get Firefox!" src=
124 "http://www.spreadfirefox.com/community/images/affiliates/Buttons/88x31/take.gif">
125 </a>
126 </div>
127
128 <div id="validxhtml">
129 <a href="http://validator.w3.org/check?uri=referer"><img
130 border="0" src="http://www.w3.org/Icons/valid-html401" alt=
131 "Valid HTML 4.01!" height="31" width="88"></a>
132 </div>
133
134 <div id="footer">
135 <div class="xleft">
136 Please send any questions or suggestions to <a href=
137 "mailto:vlads(at)users.sourceforge.net">vlads(at)users.sourceforge.net</a>
138 </div>
139 </div>
140 </body>
141 </html>
EOF