2010-01-29 22:13:57 +00:00
|
|
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
|
|
|
|
2011-01-13 19:44:19 +00:00
|
|
|
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
|
2011-04-27 20:20:25 +00:00
|
|
|
|
|
|
|
<%@taglib prefix="vitro" uri="/WEB-INF/tlds/VitroUtils.tld" %>
|
2011-12-21 23:02:31 +00:00
|
|
|
<%@page import="edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission" %>
|
|
|
|
<% request.setAttribute("requestedActions", SimplePermission.USE_ADVANCED_DATA_TOOLS_PAGES.ACTION); %>
|
2011-04-27 20:20:25 +00:00
|
|
|
<vitro:confirmAuthorization />
|
|
|
|
|
2011-01-13 19:44:19 +00:00
|
|
|
<%@page import="java.util.List"%><h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Connect to Jena Database</h2>
|
2010-01-29 22:13:57 +00:00
|
|
|
|
|
|
|
<form action="ingest" method="post">
|
|
|
|
<input type="hidden" name="action" value="connectDB"/>
|
|
|
|
|
2011-01-20 18:31:23 +00:00
|
|
|
<label for="JDBC URL">JDBC URL</label>
|
|
|
|
<input type="text" style="width:80%;" name="jdbcUrl" value="jdbc:mysql://localhost/"/>
|
2010-01-29 22:13:57 +00:00
|
|
|
|
2011-01-20 18:31:23 +00:00
|
|
|
<label for="username">Username</label>
|
2010-01-29 22:13:57 +00:00
|
|
|
<input type="text" name="username"/>
|
2011-01-20 18:31:23 +00:00
|
|
|
|
|
|
|
<label for="password">Password</label>
|
|
|
|
<input type="password" name="password" class="block"/>
|
2010-01-29 22:13:57 +00:00
|
|
|
|
2011-01-20 18:31:23 +00:00
|
|
|
<input id="tripleStoreRDB" name="tripleStore" type="radio" checked="checked" value="RDB"/>
|
|
|
|
<label for="tripleStoreRDB" class="inline">Jena RDB</label>
|
2010-01-29 22:13:57 +00:00
|
|
|
|
2011-01-20 18:31:23 +00:00
|
|
|
<input id="tripleStoreSDB" name="tripleStore" type="radio" value="SDB"/>
|
|
|
|
<label for="tripleStoreRDB" class="inline">Jena SDB (hash layout)</label>
|
|
|
|
|
|
|
|
<label for="database type">Database type</label>
|
|
|
|
<select name="dbType">
|
|
|
|
<c:forEach items="${requestScope.dbTypes}" var="typeName">
|
|
|
|
<c:choose>
|
|
|
|
<c:when test="${typeName eq 'MySQL'}">
|
|
|
|
<option value="${typeName}" selected="selected">${typeName}</option>
|
|
|
|
</c:when>
|
2011-01-13 19:44:19 +00:00
|
|
|
<c:otherwise>
|
|
|
|
<option value="${typeName}">${typeName}</option>
|
|
|
|
</c:otherwise>
|
2011-01-20 18:31:23 +00:00
|
|
|
</c:choose>
|
|
|
|
</c:forEach>
|
|
|
|
</select>
|
2011-01-13 19:44:19 +00:00
|
|
|
|
2010-01-29 22:13:57 +00:00
|
|
|
|
2011-02-02 17:15:05 +00:00
|
|
|
<input class="submit" type="submit" value="Connect Database" />
|