Debian Codegraph @

jackrabbit-webapp/src/main/webapp/bootstrap/missing.jsp

raw
1 <%--
2 Licensed to the Apache Software Foundation (ASF) under one or more
3 contributor license agreements. See the NOTICE file distributed with
4 this work for additional information regarding copyright ownership.
5 The ASF licenses this file to You under the Apache License, Version 2.0
6 (the "License"); you may not use this file except in compliance with
7 the License. You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 --%><%@page import="org.apache.jackrabbit.util.Text"%><%
17 request.setAttribute("title", "Content Repository Setup");
18 %><jsp:include page="../header.jsp"/>
19 <p>
20 Your content repository is not properly configured yet. Please use
21 the forms below to setup the content repository.
22 </p>
23 <p>
24 Alternatively, you can directly modify the settings in the
25 <code>WEB-INF/web.xml</code> deployment descriptor and redeploy this
26 web application.
27 </p>
28
29 <h3>Create a new content repository</h3>
30 <form action="<%= Text.encodeIllegalXMLCharacters(request.getContextPath()) %>/admin" method="POST">
31 <input type="hidden" name="mode" value="new"/>
32 <p>
33 Use this form to create a new content repository in the given directory.
34 The directory is created by this web application and should not already
35 exist. The repository is created using a default configuration file.
36 </p>
37 <p>
38 <label>
39 Repository home directory:
40 <input size="40" type="text" name="repository_home" value="jackrabbit">
41 </label>
42 </p>
43 <p><input type="submit" value="Create Content Repository"></p>
44 </form>
45
46 <h3>Use an existing content repository</h3>
47 <form action="<%= Text.encodeIllegalXMLCharacters(request.getContextPath()) %>/admin" method="POST">
48 <input type="hidden" name="mode" value="existing"/>
49 <p>
50 Use this form to access an existing content repository in the given
51 directory. The repository configuration file should be available as
52 <code>repository.xml</code> within the given directory.
53 </p>
54 <p>
55 Note that the repository can not be concurrently accessed by multiple
56 applications. You must use WebDAV or RMI through this web application
57 if you want to access the repository remotely. Other web applications
58 running in the same servlet container can access the repository locally
59 using JNDI.
60 </p>
61 <p>
62 <label>
63 Repository home directory:
64 <input size="40" type="text" name="repository_home" value="jackrabbit">
65 </label>
66 </p>
67 <p><input type="submit" value="Access Content Repository"></p>
68 </form>
69
70 <jsp:include page="../footer.jsp"/>