Strabon

view endpoint/WebContent/describe.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 a915117ecad3
children edf25917969d
line source
1 <%@ 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 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
8 <title>TELEIOS: Strabon Endpoint</title>
9 <link rel="stylesheet" href="style.css" type="text/css"/>
10 <script type="text/javascript">
11 function toggleMe(a) {
12 var e = document.getElementById(a);
13 if (!e) {
14 return true;
15 }
16 if (e.style.display == "none") {
17 e.style.display = "block";
18 } else {
19 e.style.display = "none";
20 }
21 return true;
22 }
23 </script>
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 enctype="UTF-8" accept-charset="UTF-8" method="post" action="Describe">
32 <INPUT type=hidden name="view" value="HTML"/>
34 <table border="0" width="100%"><tr>
35 <td width="90" valign="top" class="style4">
36 <table border="0" cellspacing="0" cellpadding="0" width="165" id="navigation">
37 <tr><td width="90" class="style4"><a href="query.jsp" class="navText">Query</a></td></tr>
38 <tr><td width="90" class="style4"><a href="store.jsp" class="navText" title="Store triples">Store</a></td></tr>
39 </table>
40 </td>
41 <td width="*" valign="top">
42 <table cellspacing="5">
43 <tr>
44 <td id="output">stSPARQL Query:</td>
45 <td id="output"><textarea name="query" title="pose your DESCRIBE query here" rows="15" cols="100">
46 <%=request.getParameter("query") != null ? request.getParameter("query"):""%></textarea></td>
47 </tr>
48 <tr>
49 <td id="output"><center>Output Format:<br/>
50 <SELECT name="format" title="select one of the following RDF graph format types">
51 <% for (String format : Common.registeredFormats) {%>
52 <OPTION value="<%=format%>"><%=format%></OPTION>
53 <%}%>
54 </SELECT></center></td>
55 <td colspan=2><br/>
56 <center>
57 <input type="submit" title="execute DESCRIBE query" value="Describe" name="submit" style="width: 400px"/><br/>
58 </center><br/></td>
59 </tr>
61 <% if (request.getAttribute("error") != null) {%>
62 <!-- Error Message -->
63 <TR>
64 <TD id="output">Result: </TD><TD id="output"><%=request.getAttribute("error") %></TD>
65 </TR>
66 <!-- Error Message -->
67 <%}%>
70 </table></td></tr></table><br/><br/>
72 <% if (request.getAttribute("response") != null) {%>
73 <!-- Response -->
74 <PRE><%=request.getAttribute("response") %></PRE>
75 <!-- Response -->
76 <%}%>
77 </form>
78 </body>
79 </html>