From a0d5ac96505179eee741af4f819761fe28a3868a Mon Sep 17 00:00:00 2001 From: antelder Date: Mon, 25 Jan 2010 14:29:05 +0000 Subject: Catch up the tomcat runtime with all the recent domain and node changes git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@902818 13f79535-47bb-0310-9956-ffa450edef68 --- .../tomcat/testing/helloworld-scaclient-jsp/src/main/webapp/hello.jsp | 2 +- .../src/main/java/testing/HelloworldServlet.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sca-java-2.x/trunk/distribution/tomcat/testing') diff --git a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/webapp/hello.jsp b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/webapp/hello.jsp index c5c3114693..45ae96cb82 100644 --- a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/webapp/hello.jsp +++ b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-jsp/src/main/webapp/hello.jsp @@ -23,7 +23,7 @@ <%@ page import="java.net.URI" %> <% - HelloworldService service = SCAClientFactory.newInstance(URI.create("tuscany:default")).getService(HelloworldService.class, "HelloworldComponent"); + HelloworldService service = SCAClientFactory.newInstance(URI.create("default")).getService(HelloworldService.class, "HelloworldComponent"); %> diff --git a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-servlet/src/main/java/testing/HelloworldServlet.java b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-servlet/src/main/java/testing/HelloworldServlet.java index 6124592a6d..5be51fab61 100644 --- a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-servlet/src/main/java/testing/HelloworldServlet.java +++ b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-servlet/src/main/java/testing/HelloworldServlet.java @@ -42,7 +42,7 @@ public class HelloworldServlet extends HttpServlet { try { String component = request.getParameter("component"); - HelloworldService service = SCAClientFactory.newInstance(URI.create("tuscany:default")).getService(HelloworldService.class, component); + HelloworldService service = SCAClientFactory.newInstance(URI.create("default")).getService(HelloworldService.class, component); String name = request.getParameter("name"); String greeting = service.sayHello(name); -- cgit v1.2.3