From 6f41ef61af2268d5576448974ca447b597387e88 Mon Sep 17 00:00:00 2001 From: antelder Date: Tue, 16 Jun 2009 06:48:13 +0000 Subject: Create 2.0 M3 release branch git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@785089 13f79535-47bb-0310-9956-ffa450edef68 --- .../tomcat-war/src/main/webapp/installer.jsp | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 branches/sca-java-2.0-M3/distribution/tomcat/tomcat-war/src/main/webapp/installer.jsp (limited to 'branches/sca-java-2.0-M3/distribution/tomcat/tomcat-war/src/main/webapp/installer.jsp') diff --git a/branches/sca-java-2.0-M3/distribution/tomcat/tomcat-war/src/main/webapp/installer.jsp b/branches/sca-java-2.0-M3/distribution/tomcat/tomcat-war/src/main/webapp/installer.jsp new file mode 100644 index 0000000000..a6c3e4acaa --- /dev/null +++ b/branches/sca-java-2.0-M3/distribution/tomcat/tomcat-war/src/main/webapp/installer.jsp @@ -0,0 +1,74 @@ + + +<%@ page contentType="text/html;charset=UTF-8" language="java" %> +<%@ page import="org.apache.tuscany.sca.war.Installer" %> + +<% + Installer installer = (Installer) request.getAttribute("installer"); +%> + + + + +

Apache Tuscany Tomcat Integration

+ + The Tuscany Tomcat integration turns Tomcat into an SCA enabled runtime so it can run SCA contributions and SCA-enabled Web Applications. +

+ + 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: +

+ The Tuscany runtime is shared by all web applications if checked.

+ +

+
+ <% } else {%> + Uninstall Tuscany
+ If remove Tuscany from Tomcat, click: +
+ +
+
+ <% }%> + +

+
+ + + <% if (installer != null) { %> + <%= installer.getStatus() %> + <% }%> + + + + -- cgit v1.2.3