1 | |
---|
2 | |
---|
3 | Map |
---|
4 | |
---|
5 | |
---|
6 | Root of project flood in |
---|
7 | |
---|
8 | Marl/sandpit/oracle/ (Mapped to S: to work with J developer) |
---|
9 | http://www.ga.gov.au:8500 |
---|
10 | |
---|
11 | |
---|
12 | JSP and html source code is in directory flood |
---|
13 | |
---|
14 | |
---|
15 | Root page is in flood_input.jsp (POST method) |
---|
16 | |
---|
17 | Any info when 'query' is clicked passed into flood_studies.jsp |
---|
18 | |
---|
19 | (l 161 creates db connecition which is closed from line 254) |
---|
20 | FIX null issue |
---|
21 | |
---|
22 | |
---|
23 | |
---|
24 | Selecting a study transfers control to flood_infolist.jsp |
---|
25 | |
---|
26 | Show table of links to details for each dataset |
---|
27 | |
---|
28 | Creates a connection through the class AvailableDataset (which takes care of closing it again). This class is in CVS Marl: /web/src |
---|
29 | |
---|
30 | |
---|
31 | pserver |
---|
32 | |
---|
33 | IN 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 | |
---|
51 | http://www.ga.gov.au:8500/oracle/flood/flood_infolist.jsp?sno=1&sname=Avoca%20River%20Floodplain%20Management%20Study |
---|
52 | |
---|
53 | |
---|
54 | |
---|
55 | ole@nautilus:~/anuga/tools/demos$ python test_flood_database.py |
---|
56 | Testing http://www.ga.gov.au:8500/oracle/flood/flood_input_hide.jsp. OK: Page is live |
---|
57 | |
---|
58 | Reading flood_studies_all.html |
---|
59 | Testing flood_infolist.jsp?sno=1&sname=Avoca River Floodplain Management Study... OK: Link is live |
---|
60 | Testing servlet/FloodDetailServlet?sno=1&sname=Avoca River Floodplain Management Study&d... OK: Detail link is live |
---|
61 | Testing servlet/FloodDetailServlet?sno=1&sname=Avoca River Floodplain Management Study&d... OK: Detail link is live |
---|
62 | Testing servlet/FloodDetailServlet?sno=1&sname=Avoca River Floodplain Management Study&d... OK: Detail link is live |
---|
63 | Testing servlet/FloodDetailServlet?sno=1&sname=Avoca River Floodplain Management Study&d... OK: Detail link is live |
---|
64 | Testing servlet/FloodDetailServlet?sno=1&sname=Avoca River Floodplain Management Study&d... OK: Detail link is live |
---|
65 | Testing flood_infolist.jsp?sno=2&sname=Avoca Floodplain Management Study: Techni... OK: Link is live |
---|
66 | Testing flood_infolist.jsp?sno=3&sname=Horsham Flood Study... OK: Link is live |
---|
67 | Testing servlet/FloodDetailServlet?sno=3&sname=Horsham Flood Study&dname=Floor Level Sur... OK: Detail link is live |
---|
68 | Testing servlet/FloodDetailServlet?sno=3&sname=Horsham Flood Study&dname=Historic Flood... OK: Detail link is live |
---|
69 | Testing servlet/FloodDetailServlet?sno=3&sname=Horsham Flood Study&dname=Terrain Surveys... OK: Detail link is live |
---|
70 | Testing servlet/FloodDetailServlet?sno=3&sname=Horsham Flood Study&dname=Related Study... OK: Detail link is live |
---|
71 | Testing servlet/FloodDetailServlet?sno=3&sname=Horsham Flood Study&dname=Hazard Mapsets... OK: Detail link is live |
---|
72 | Testing servlet/FloodDetailServlet?sno=3&sname=Horsham Flood Study&dname=Hydraulic Scena... OK: Detail link is live |
---|
73 | Testing servlet/FloodDetailServlet?sno=3&sname=Horsham Flood Study&dname=Hydrology Scena... OK: Detail link is live |
---|
74 | Testing servlet/FloodDetailServlet?sno=3&sname=Horsham Flood Study&dname=Inundation Maps... OK: Detail link is live |
---|
75 | Testing flood_infolist.jsp?sno=4&sname=Avoca River Catchment - Recent Hydrologic... OK: Link is live |
---|
76 | Testing servlet/FloodDetailServlet?sno=4&sname=Avoca River Catchment - Recent Hydrologic... OK: Detail link is live |
---|
77 | Testing flood_infolist.jsp?sno=5&sname=City of Ballarat - Flood Mitigation Strat... OK: Link is live |
---|
78 | Testing servlet/FloodDetailServlet?sno=5&sname=City of Ballarat - Flood Mitigation Strat... OK: Detail link is live |
---|
79 | Testing flood_infolist.jsp?sno=6&sname=Barwon River - Cup Day Floods November 19... OK: Link is live |
---|
80 | Testing servlet/FloodDetailServlet?sno=6&sname=Barwon River - Cup Day Floods November 19... OK: Detail link is live |
---|
81 | Testing flood_infolist.jsp?sno=7&sname=Benalla: Floodplain Management Study... OK: Link is live |
---|
82 | Testing servlet/FloodDetailServlet?sno=7&sname=Benalla: Floodplain Management Study&dnam... OK: Detail link is live |
---|
83 | Testing servlet/FloodDetailServlet?sno=7&sname=Benalla: Floodplain Management Study&dnam... OK: Detail link is live |
---|
84 | Testing servlet/FloodDetailServlet?sno=7&sname=Benalla: Floodplain Management Study&dnam... OK: Detail link is live |
---|
85 | |
---|
86 | |
---|
87 | |
---|
88 | |
---|
89 | Testing servlet/FloodDetailServlet?sno=25&sname=Geelong Flood Mitigation Strategy&dname=... OK: Detail link is live |
---|
90 | Testing servlet/FloodDetailServlet?sno=25&sname=Geelong Flood Mitigation Strategy&dname=... <html> |
---|
91 | <head> |
---|
92 | <style type="text/css"> |
---|
93 | <!-- |
---|
94 | div {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10pt} |
---|
95 | strong {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11pt;color:black} |
---|
96 | td {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10pt;} |
---|
97 | h3 {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 15pt} |
---|
98 | th {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11pt} |
---|
99 | --> |
---|
100 | </style> |
---|
101 | <title> |
---|
102 | Geoscience 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"> |
---|
111 | This 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> |
---|
119 | java.lang.NullPointerException</p> |
---|
120 | </body></html> |
---|
121 | FAIL: Detail link is not live |
---|
122 | |
---|
123 | |
---|
124 | Testing servlet/FloodDetailServlet?sno=23&sname=Euroa Floodplain Management Study, Volum... OK: Detail link is live |
---|
125 | Testing servlet/FloodDetailServlet?sno=23&sname=Euroa Floodplain Management Study, Volum... <html> |
---|
126 | <head> |
---|
127 | <style type="text/css"> |
---|
128 | <!-- |
---|
129 | div {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10pt} |
---|
130 | strong {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11pt;color:black} |
---|
131 | td {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10pt;} |
---|
132 | h3 {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 15pt} |
---|
133 | th {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11pt} |
---|
134 | --> |
---|
135 | </style> |
---|
136 | <title> |
---|
137 | Geoscience 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"> |
---|
146 | This 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> |
---|
154 | FAIL: Detail link is not live |
---|
155 | |
---|