From ebb89430400c2cb1d1c74ca18927375ff41601cc Mon Sep 17 00:00:00 2001 From: antelder Date: Thu, 5 Feb 2009 07:55:03 +0000 Subject: Move the contrib folder out of the sca trunk build as discussed on the ML git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@741038 13f79535-47bb-0310-9956-ffa450edef68 --- .../webapp/META-INF/sca-deployables/web.composite | 34 ++++++++++++++++++ .../helloworld-jsp/src/main/webapp/WEB-INF/web.xml | 42 ++++++++++++++++++++++ .../helloworld-jsp/src/main/webapp/hello.jsp | 36 +++++++++++++++++++ 3 files changed, 112 insertions(+) create mode 100644 java/sca-contrib/samples/helloworld-jsp/src/main/webapp/META-INF/sca-deployables/web.composite create mode 100644 java/sca-contrib/samples/helloworld-jsp/src/main/webapp/WEB-INF/web.xml create mode 100644 java/sca-contrib/samples/helloworld-jsp/src/main/webapp/hello.jsp (limited to 'java/sca-contrib/samples/helloworld-jsp/src/main/webapp') diff --git a/java/sca-contrib/samples/helloworld-jsp/src/main/webapp/META-INF/sca-deployables/web.composite b/java/sca-contrib/samples/helloworld-jsp/src/main/webapp/META-INF/sca-deployables/web.composite new file mode 100644 index 0000000000..16bc08fc10 --- /dev/null +++ b/java/sca-contrib/samples/helloworld-jsp/src/main/webapp/META-INF/sca-deployables/web.composite @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + diff --git a/java/sca-contrib/samples/helloworld-jsp/src/main/webapp/WEB-INF/web.xml b/java/sca-contrib/samples/helloworld-jsp/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..46285614da --- /dev/null +++ b/java/sca-contrib/samples/helloworld-jsp/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,42 @@ + + + + + + Apache Tuscany Helloworld JSP Sample + + + tuscany + org.apache.tuscany.sca.host.webapp.TuscanyServletFilter + + + + tuscany + /* + + + + hello.jsp + + + diff --git a/java/sca-contrib/samples/helloworld-jsp/src/main/webapp/hello.jsp b/java/sca-contrib/samples/helloworld-jsp/src/main/webapp/hello.jsp new file mode 100644 index 0000000000..beac8e457f --- /dev/null +++ b/java/sca-contrib/samples/helloworld-jsp/src/main/webapp/hello.jsp @@ -0,0 +1,36 @@ + +<%@ page contentType="text/html;charset=UTF-8" language="java" %> +<%@ taglib uri="http://www.osoa.org/sca/sca_jsp.tld" prefix="sca" %> + + + + + + +

Apache Tuscany Helloworld JSP Sample

+ + Calling HelloworldService sayHello("world") returns: + +

+ + <%= service.sayHello("world") %> + + + -- cgit v1.2.3