<%-- #%L Alfresco Repository WAR Community %% Copyright (C) 2005 - 2016 Alfresco Software Limited %% This file is part of the Alfresco software. If the software was purchased under a paid Alfresco license, the terms of the paid license agreement will prevail. Otherwise, the software is provided under the following open source license terms: Alfresco is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Alfresco is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with Alfresco. If not, see . #L% --%> <%@ page import="org.springframework.web.context.WebApplicationContext" %> <%@ page import="org.springframework.web.context.support.WebApplicationContextUtils" %> <%@ page import="org.alfresco.repo.admin.SysAdminParams" %> <%@ page import="org.alfresco.service.descriptor.DescriptorService" %> <%@ page import="org.alfresco.service.transaction.TransactionService" %> <%@ page import="org.alfresco.util.UrlUtil" %> <%@ page import="org.alfresco.service.cmr.module.ModuleService" %> <%@ page import="org.alfresco.service.cmr.module.ModuleDetails" %> <%@ page import="org.alfresco.service.cmr.module.ModuleInstallState" %> <% // route WebDAV requests if (request.getMethod().equalsIgnoreCase("PROPFIND") || request.getMethod().equalsIgnoreCase("OPTIONS")) { response.sendRedirect(request.getContextPath() + "/webdav/"); } %> <% WebApplicationContext context = WebApplicationContextUtils.getRequiredWebApplicationContext(session.getServletContext()); SysAdminParams sysAdminParams = (SysAdminParams)context.getBean("sysAdminParams"); DescriptorService descriptorService = (DescriptorService)context.getBean("descriptorComponent"); TransactionService transactionService = (TransactionService)context.getBean("transactionService"); ModuleService moduleService = (ModuleService) context.getBean("moduleService"); ModuleDetails shareServicesModule = moduleService.getModule("alfresco-share-services"); %> Alfresco
 

Welcome to Alfresco

<%=descriptorService.getServerDescriptor().getEdition()%> - <%=descriptorService.getServerDescriptor().getVersion()%>

Online Documentation

<% if (shareServicesModule != null && ModuleInstallState.INSTALLED.equals(shareServicesModule.getInstallState())) { %>

Alfresco Share

<% } %>

Alfresco WebDav

Alfresco WebScripts Home (admin only)

<% if (descriptorService.getLicenseDescriptor() == null && transactionService.isReadOnly()) { %>

WARNING: The system is in Read Only mode, the License may have failed to deploy. Please visit the Alfresco Administration Console (admin only)

<% } if (descriptorService.getLicenseDescriptor() != null && descriptorService.getLicenseDescriptor().getLicenseMode().toString().equals("ENTERPRISE")) { %>

Alfresco Administration Console (admin only)

Alfresco Support

<% } else { %>

Alfresco Administration Console (admin only)

Alfresco Forums

Alfresco JIRA

<% } %>

CMIS 1.0 AtomPub Service Document

CMIS 1.0 Web Services WSDL Document

CMIS 1.1 AtomPub Service Document

CMIS 1.1 Browser Binding URL