source: tools/demos/flood_database_notes.txt @ 3217

Last change on this file since 3217 was 3208, checked in by ole, 18 years ago

More output

File size: 6.8 KB
RevLine 
[3206]1
2       
3Map     
4
5
6Root of project flood in
7
8Marl/sandpit/oracle/  (Mapped to S: to work with J developer)
9http://www.ga.gov.au:8500
10
11
12JSP and html source code is in directory flood
13
14
15Root page is in flood_input.jsp (POST method)
16
17Any info when 'query' is clicked passed into flood_studies.jsp
18
19(l 161 creates db connecition which is closed from line 254)
20FIX null issue
21
22
23
24Selecting a study transfers control to flood_infolist.jsp
25
26Show table of links to details for each dataset
27
28Creates a connection through the class AvailableDataset (which takes care of closing it again). This class is in CVS   Marl: /web/src
29
30
31pserver
32
33IN CVS:
34  FloodDataset.java: Gets data and formats.
35  Has an connection open but no close.
36  Remedy:
37
38  Move connection open and close to FloodDetailServlet.java
39 
40  All methods in FloodDataset.java (as well as FloodDetailServlet.java) now get open connection handle passed in as
41  first parameter.
42 
43
44  To deploy. Create one jar file from java source and copy to sandpit.
45 
46 
47 
48
49 
50     
51http://www.ga.gov.au:8500/oracle/flood/flood_infolist.jsp?sno=1&sname=Avoca%20River%20Floodplain%20Management%20Study
52
53
[3208]54
55ole@nautilus:~/anuga/tools/demos$ python test_flood_database.py
56Testing http://www.ga.gov.au:8500/oracle/flood/flood_input_hide.jsp.  OK: Page is live
57
58Reading flood_studies_all.html
59Testing flood_infolist.jsp?sno=1&sname=Avoca River Floodplain Management Study... OK: Link is live
60Testing servlet/FloodDetailServlet?sno=1&sname=Avoca River Floodplain Management Study&d... OK: Detail link is live
61Testing servlet/FloodDetailServlet?sno=1&sname=Avoca River Floodplain Management Study&d... OK: Detail link is live
62Testing servlet/FloodDetailServlet?sno=1&sname=Avoca River Floodplain Management Study&d... OK: Detail link is live
63Testing servlet/FloodDetailServlet?sno=1&sname=Avoca River Floodplain Management Study&d... OK: Detail link is live
64Testing servlet/FloodDetailServlet?sno=1&sname=Avoca River Floodplain Management Study&d... OK: Detail link is live
65Testing flood_infolist.jsp?sno=2&sname=Avoca Floodplain Management Study: Techni... OK: Link is live
66Testing flood_infolist.jsp?sno=3&sname=Horsham Flood Study... OK: Link is live
67Testing servlet/FloodDetailServlet?sno=3&sname=Horsham Flood Study&dname=Floor Level Sur... OK: Detail link is live
68Testing servlet/FloodDetailServlet?sno=3&sname=Horsham Flood Study&dname=Historic Flood... OK: Detail link is live
69Testing servlet/FloodDetailServlet?sno=3&sname=Horsham Flood Study&dname=Terrain Surveys... OK: Detail link is live
70Testing servlet/FloodDetailServlet?sno=3&sname=Horsham Flood Study&dname=Related Study... OK: Detail link is live
71Testing servlet/FloodDetailServlet?sno=3&sname=Horsham Flood Study&dname=Hazard Mapsets... OK: Detail link is live
72Testing servlet/FloodDetailServlet?sno=3&sname=Horsham Flood Study&dname=Hydraulic Scena... OK: Detail link is live
73Testing servlet/FloodDetailServlet?sno=3&sname=Horsham Flood Study&dname=Hydrology Scena... OK: Detail link is live
74Testing servlet/FloodDetailServlet?sno=3&sname=Horsham Flood Study&dname=Inundation Maps... OK: Detail link is live
75Testing flood_infolist.jsp?sno=4&sname=Avoca River Catchment - Recent Hydrologic... OK: Link is live
76Testing servlet/FloodDetailServlet?sno=4&sname=Avoca River Catchment - Recent Hydrologic... OK: Detail link is live
77Testing flood_infolist.jsp?sno=5&sname=City of Ballarat - Flood Mitigation Strat... OK: Link is live
78Testing servlet/FloodDetailServlet?sno=5&sname=City of Ballarat - Flood Mitigation Strat... OK: Detail link is live
79Testing flood_infolist.jsp?sno=6&sname=Barwon River - Cup Day Floods November 19... OK: Link is live
80Testing servlet/FloodDetailServlet?sno=6&sname=Barwon River - Cup Day Floods November 19... OK: Detail link is live
81Testing flood_infolist.jsp?sno=7&sname=Benalla: Floodplain Management Study... OK: Link is live
82Testing servlet/FloodDetailServlet?sno=7&sname=Benalla: Floodplain Management Study&dnam... OK: Detail link is live
83Testing servlet/FloodDetailServlet?sno=7&sname=Benalla: Floodplain Management Study&dnam... OK: Detail link is live
84Testing servlet/FloodDetailServlet?sno=7&sname=Benalla: Floodplain Management Study&dnam... OK: Detail link is live
85
86
87
88
[3207]89Testing servlet/FloodDetailServlet?sno=25&sname=Geelong Flood Mitigation Strategy&dname=... OK: Detail link is live
90Testing servlet/FloodDetailServlet?sno=25&sname=Geelong Flood Mitigation Strategy&dname=... <html>
91<head>
92<style type="text/css">
93<!--
94div {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10pt}
95strong {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11pt;color:black}
96td {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10pt;}
97h3 {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 15pt}
98th {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11pt}
99-->
100</style>
101<title>
102Geoscience Australia flood Online Search: Studies details
103</title></head>
104
105<body>
106<table summary="this table is used for layout only" width = "90%" align = "center" CELLSPACING="10">
107<tr><td align = "left" valign = "bottom" width = "210">
108<a href="/"><img width = "210" height = "60" src="/build/img/logo_inline.gif" border = "0" /></a>
109</td>
110<td align = "left" valign = "bottom">
111This data is subject to Geoscience Australia's
112<a href="/about/disclaimer.jsp">disclaimer</a> and
113<a href = "/about/copyright.jsp">copyright</a> statements.
114</td></tr>
115</table>
116<hr />
117<p><table summary="this table is used for layout only" align = "center" width = "90%" CELLSPACING="1" border = "1">
118<tr><th>Related study</th></tr>
119java.lang.NullPointerException</p>
120</body></html>
121FAIL: Detail link is not live
122
123
124Testing servlet/FloodDetailServlet?sno=23&sname=Euroa Floodplain Management Study, Volum... OK: Detail link is live
125Testing servlet/FloodDetailServlet?sno=23&sname=Euroa Floodplain Management Study, Volum... <html>
126<head>
127<style type="text/css">
128<!--
129div {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10pt}
130strong {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11pt;color:black}
131td {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10pt;}
132h3 {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 15pt}
133th {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11pt}
134-->
135</style>
136<title>
137Geoscience Australia flood Online Search: Studies details
138</title></head>
139
140<body>
141<table summary="this table is used for layout only" width = "90%" align = "center" CELLSPACING="10">
142<tr><td align = "left" valign = "bottom" width = "210">
143<a href="/"><img width = "210" height = "60" src="/build/img/logo_inline.gif" border = "0" /></a>
144</td>
145<td align = "left" valign = "bottom">
146This data is subject to Geoscience Australia's
147<a href="/about/disclaimer.jsp">disclaimer</a> and
148<a href = "/about/copyright.jsp">copyright</a> statements.
149</td></tr>
150</table>
151<hr />
152<p></p>
153</body></html>
154FAIL: Detail link is not live
155
Note: See TracBrowser for help on using the repository browser.