Strabon

view endpoint/WebContent/store.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 eec1a8547bc2
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="Store">
32 <INPUT type=hidden name="view" value="HTML"/>
34 <TABLE border="0" width="100%">
35 <TR>
36 <TD width="90" valign="top" class="style4">
37 <TABLE border="0" cellspacing="0" cellpadding="0" width="165" id="navigation">
38 <TR><TD width="90" class="style4"><a href="query.jsp" class="navText">Query</A></TD></TR>
39 <TR><TD width="90" class="style4"><a href="describe.jsp" class="navText">Describe</A></TD></TR>
40 </TABLE>
41 </TD>
42 <td width="*" valign="top" class="style4">
43 <TABLE cellspacing="5">
45 <% if (request.getAttribute("error") != null) {%>
46 <!-- Error Message -->
47 <TR><TD colspan=3>
48 <CENTER><P style="color: red;"><%=request.getAttribute("error") %></P></CENTER>
49 </TD></TR>
50 <!-- Error Message -->
51 <%}%>
53 <%if (request.getAttribute("info") != null) { %>
54 <!-- Info Message -->
55 <TR><TD colspan=3>
56 <CENTER><P><%=request.getAttribute("info") %></P></CENTER>
57 </TD></TR>
58 <!-- Info Message -->
59 <%}%>
60 <tr>
61 <!-- direct input form -->
62 <td id="output">Direct Input:</td>
63 <td id="output">
64 <div style="font-size:13px">
65 You must be logged in to store.
66 </div>
67 <textarea name="data" rows="15" cols="100"></textarea></td>
68 <td rowspan=4 id="output">
69 <CENTER>RDF Format:<br/>
70 <SELECT name="format" title="select one of the following RDF graph format types">
71 <% for (String format : Common.registeredFormats) {%>
72 <OPTION value="<%=format%>"><%=format%></OPTION>
73 <%}%>
74 </SELECT>
75 </CENTER>
76 </td>
77 </tr>
78 <tr>
79 <td colspan=2 id="output"><br/>
80 <CENTER>
81 <input type="submit" value="Store Input" name="dsubmit" style="width: 400px"/>
82 </CENTER><br/>
83 </td>
84 </tr>
86 <tr>
87 <td id="output" >URI Input:</td>
88 <td id="output">
89 <textarea name="url" rows="1" cols="100"></textarea>
90 </td>
91 </tr>
93 <tr>
94 <td colspan=2 id="output"><br/>
95 <CENTER>
96 <INPUT type="submit" value="Store from URI" name="fromurl" style="width: 400px"/>
97 </CENTER><br/>
98 </td>
99 </tr>
101 </TABLE>
102 </td>
103 </tr>
104 </TABLE>
105 </FORM>
106 <br/><br/><br/><br/><br/>
107 </BODY>
108 </HTML>