Strabon

view endpoint/WebContent/connection.jsp @ 688:9a4bb8e81273

split queryresultio-spatial into submodules (one for API that provides the stSPARQLQueryResultFormat and one for each writer implementation, e.g., XML, HTML, etc.)
Renamed resultio to resultio-spatial.
Renamed endpoint-client artifact to strabon-endpoint-client.
Moved org.openrdf.resultio.Format to eu.earthobservatory.utils.
Renamed and moved org.openrdf.resultio.stSPARQLQueryResultWriter to eu.earthobservatory.utils.stSPARQLQueryResultToFormatAdapter. This is a factory class for stSPARQLQueryResults.

NOTICE: You should import the whole Strabon project into Eclipse to work with this commit
author Babis Nikolaou <charnik@di.uoa.gr>
date Tue Nov 06 19:24:43 2012 +0200 (2012-11-06)
parents 4bd5b9a0177b
children 355ab4e7cf59
line source
1 <jsp:directive.page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"/>
2 <jsp:directive.page import="eu.earthobservatory.org.StrabonEndpoint.Common"/>
3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4 <html>
5 <head>
6 <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
7 <link rel="stylesheet" href="style.css" type="text/css" />
9 <script type="text/javascript">
10 function toggleMe(a) {
11 var e = document.getElementById(a);
12 if (!e) {
13 return true;
14 }
15 if (e.style.display == "none") {
16 e.style.display = "block";
17 } else {
18 e.style.display = "none";
19 }
20 return true;
21 }
22 </script>
23 <title>TELEIOS: Strabon Endpoint</title>
24 </head>
25 <body topmargin="0" leftmargin="0" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">
27 <!-- include TELEIOS header and description -->
28 <jsp:include page="teleios-header.html"/>
29 <!-- include TELEIOS header and description -->
31 <FORM method=POST enctype="UTF-8" accept-charset="UTF-8" action="DBConnect">
32 <input type="hidden" name="query" value="<%=request.getAttribute("query")%>"/>
33 <input type="hidden" name="handle" value="<%=request.getAttribute("handle")%>"/>
34 <input type="hidden" name="format" value="<%=request.getAttribute("format")%>"/>
35 <TABLE class="style4">
36 <TR>
37 <TD valign="top" class="style4">Database Name:</TD>
38 <TD><input type="text" name="dbname" value="<%=request.getAttribute("dbname")%>"/></TD>
39 </TR>
40 <TR>
41 <TD valign="top" class="style4">Username:</TD>
42 <TD><input type="text" name="username" value="<%=request.getAttribute("username")%>"/></TD>
43 </TR>
44 <TR>
45 <TD valign="top" class="style4">Password:</TD>
46 <TD><input type="password" name="password" value="<%=request.getAttribute("password")%>"/></TD>
47 </TR>
48 <TR>
49 <TD valign="top" class="style4">Port:</TD>
50 <TD><input type="text" name="port" value="<%=request.getAttribute("port")%>"/></TD>
51 </TR>
52 <TR>
53 <TD valign="top" class="style4">Hostname:</TD>
54 <TD><input type="text" name="hostname" value="<%=request.getAttribute("hostname")%>"/></TD>
55 </TR>
56 <TR>
57 <TD valign="top" class="style4">Database Backend:</TD>
58 <TD>
59 <SELECT name="dbengine">
60 <OPTION value="<%=Common.DBBACKEND_POSTGIS%>" <%=Common.DBBACKEND_POSTGIS.equals(request.getAttribute("dbengine")) ? "selected":""%>><%=Common.DBBACKEND_POSTGIS%></OPTION>
61 <OPTION value="<%=Common.DBBACKEND_MONETDB%>" <%=Common.DBBACKEND_MONETDB.equals(request.getAttribute("dbengine")) ? "selected":""%>><%=Common.DBBACKEND_MONETDB%></OPTION>
62 </SELECT>
63 </TD>
64 </TR>
65 <TR>
66 <TD colspan=2><input type="submit" value="Connect"/></TD>
67 </TR>
68 </TABLE>
69 </FORM>
70 <br/><br/><br/><br/><br/>
71 </BODY>
72 </HTML>