source: release-kits/lirk3/bin/ant-installer/web/manual-print.jsp@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 1.0 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4 <title>Ant Installer</title>
5 <link href="style-print.css" type="text/css" rel="stylesheet">
6 <link rel="SHORTCUT ICON" href="images/antinstaller-icon.png">
7 <meta name="keywords"
8 content="Ant, installer, AntInstaller, gui, console, input, parameters, properties, swing, user interface, validation, configuration">
9</head>
10<body>
11 <div class="tpheadertitle">AntInstaller</div>
12 <div class="tpcontent">
13<!-- JSP start -->
14<%@page import="java.io.*"%>
15<%@page import="java.util.*"%>
16<%
17
18String strJspDir = (String)application.getAttribute("myjasper.jsp.dir");
19File fleJspDir = new File(strJspDir);
20
21BufferedReader br = new BufferedReader(new FileReader(new File(fleJspDir, "manual.html")));
22String line = null;
23boolean copy = false;
24while((line = br.readLine()) != null){
25 if(line.indexOf("<h2>Manual</h2>") > -1) {
26 copy = true;
27 }
28 else if(line.indexOf("<!-- content end [segment-end]-->") > -1) {
29 copy = false;
30 }
31 if(copy) {
32 out.println(line);
33 }
34}
35%>
36 </div>
37</div>
38</body>
39</html>
Note: See TracBrowser for help on using the repository browser.