%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ page import="org.apache.tuscany.sca.war.Installer" %> <% Installer installer = (Installer) request.getAttribute("installer"); %>
Status: Tuscany is <% if (Installer.isTuscanyHookRunning()) { %> installed and active <% } else if (Installer.isRestartRequired()) {%> installed but Tomcat needs to be restarted <% } else {%> not installed <% }%> in Tomcat.
<% if (!Installer.isTuscanyHookRunning() && !Installer.isRestartRequired()) { %>
Install Tuscany
To install Tuscany into Tomcat, click:
<% if (installer != null) { %>
<%= installer.getStatus() %>
<% }%>