From 3ac2d800d840f03618fc364090d786effde84b1f Mon Sep 17 00:00:00 2001 From: lresende Date: Wed, 11 Nov 2009 23:13:16 +0000 Subject: Moving 1.x branches git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835142 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 sca-java-1.x/branches/sca-java-20080910/samples/helloworld-jsp/src/main/webapp/META-INF/sca-deployables/web.composite create mode 100644 sca-java-1.x/branches/sca-java-20080910/samples/helloworld-jsp/src/main/webapp/WEB-INF/web.xml create mode 100644 sca-java-1.x/branches/sca-java-20080910/samples/helloworld-jsp/src/main/webapp/hello.jsp (limited to 'sca-java-1.x/branches/sca-java-20080910/samples/helloworld-jsp/src/main/webapp') diff --git a/sca-java-1.x/branches/sca-java-20080910/samples/helloworld-jsp/src/main/webapp/META-INF/sca-deployables/web.composite b/sca-java-1.x/branches/sca-java-20080910/samples/helloworld-jsp/src/main/webapp/META-INF/sca-deployables/web.composite new file mode 100644 index 0000000000..16bc08fc10 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/samples/helloworld-jsp/src/main/webapp/META-INF/sca-deployables/web.composite @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + diff --git a/sca-java-1.x/branches/sca-java-20080910/samples/helloworld-jsp/src/main/webapp/WEB-INF/web.xml b/sca-java-1.x/branches/sca-java-20080910/samples/helloworld-jsp/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..46285614da --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/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/sca-java-1.x/branches/sca-java-20080910/samples/helloworld-jsp/src/main/webapp/hello.jsp b/sca-java-1.x/branches/sca-java-20080910/samples/helloworld-jsp/src/main/webapp/hello.jsp new file mode 100644 index 0000000000..beac8e457f --- /dev/null +++ b/sca-java-1.x/branches/sca-java-20080910/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