summaryrefslogtreecommitdiffstats
path: root/tags/java/sca/0.91-rc2-incubating/samples/calculator-webapp/src/main/webapp
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-08-11 09:07:30 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-08-11 09:07:30 +0000
commite215f715c7345f54380fff2c82c25326686f290d (patch)
treeb6d7fd6995ada6766b8a178700e8e984440eae7c /tags/java/sca/0.91-rc2-incubating/samples/calculator-webapp/src/main/webapp
parenta0526931d542769a999480c1c9ff45694e07c961 (diff)
Remove old RC tag
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@684686 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tags/java/sca/0.91-rc2-incubating/samples/calculator-webapp/src/main/webapp')
-rw-r--r--tags/java/sca/0.91-rc2-incubating/samples/calculator-webapp/src/main/webapp/META-INF/sca-contribution.xml22
-rw-r--r--tags/java/sca/0.91-rc2-incubating/samples/calculator-webapp/src/main/webapp/WEB-INF/web.xml35
-rw-r--r--tags/java/sca/0.91-rc2-incubating/samples/calculator-webapp/src/main/webapp/calc.jsp50
3 files changed, 0 insertions, 107 deletions
diff --git a/tags/java/sca/0.91-rc2-incubating/samples/calculator-webapp/src/main/webapp/META-INF/sca-contribution.xml b/tags/java/sca/0.91-rc2-incubating/samples/calculator-webapp/src/main/webapp/META-INF/sca-contribution.xml
deleted file mode 100644
index 048c4c125c..0000000000
--- a/tags/java/sca/0.91-rc2-incubating/samples/calculator-webapp/src/main/webapp/META-INF/sca-contribution.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0">
- <deployable composite="Calculator"/>
-</contribution> \ No newline at end of file
diff --git a/tags/java/sca/0.91-rc2-incubating/samples/calculator-webapp/src/main/webapp/WEB-INF/web.xml b/tags/java/sca/0.91-rc2-incubating/samples/calculator-webapp/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index dfed3b33e7..0000000000
--- a/tags/java/sca/0.91-rc2-incubating/samples/calculator-webapp/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
-Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
-<web-app>
-
- <display-name>Tuscany Calculator Web Service Sample</display-name>
-
- <listener>
- <listener-class>org.apache.tuscany.sca.webapp.TuscanyContextListener</listener-class>
- </listener>
-
- <welcome-file-list id="WelcomeFileList">
- <welcome-file>calc.jsp</welcome-file>
- </welcome-file-list>
-
-</web-app>
diff --git a/tags/java/sca/0.91-rc2-incubating/samples/calculator-webapp/src/main/webapp/calc.jsp b/tags/java/sca/0.91-rc2-incubating/samples/calculator-webapp/src/main/webapp/calc.jsp
deleted file mode 100644
index 375116e5de..0000000000
--- a/tags/java/sca/0.91-rc2-incubating/samples/calculator-webapp/src/main/webapp/calc.jsp
+++ /dev/null
@@ -1,50 +0,0 @@
-<%--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
---%>
-
-<%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
-<%@ page import="calculator.CalculatorService" %>
-
-<%@ page contentType="text/html;charset=UTF-8" language="java" %>
-<%
- SCADomain scaDomain = (SCADomain) application.getAttribute("org.apache.tuscany.sca.SCADomain");
- CalculatorService calculatorService = scaDomain.getService(CalculatorService.class, "CalculatorServiceComponent");
-%>
-<html>
-<head><title>Calculator sample</title></head>
-
-<body>
-<table>
- <tr>
- <th>Expression</th><th>Result</th>
- </tr>
- <tr>
- <td>2 + 3</td><td><%= calculatorService.add(2, 3) %></td>
- </tr>
- <tr>
- <td>3 - 2</td><td><%= calculatorService.subtract(3, 2) %></td>
- </tr>
- <tr>
- <td>3 * 2</td><td><%= calculatorService.multiply(3, 2) %></td>
- </tr>
- <tr>
- <td>3 / 2</td><td><%= calculatorService.divide(3, 2) %></td>
- </tr>
-</table>
-</body>
-</html>