summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r--sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp
index e8471d3358..337a2a02d9 100644
--- a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp
+++ b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp
@@ -19,11 +19,11 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="org.oasisopen.sca.client.SCAClientFactory"%>
-<%@ page import="java.net.URI" %>
<%@ page import="testing.HelloworldService" %>
+<%@ page import="java.net.URI" %>
<%
- HelloworldService service = SCAClientFactory.newInstance().getService(URI.create("vm:default"), "HelloworldComponent");
+ HelloworldService service = SCAClientFactory.newInstance(URI.create("vm:default")).getService(HelloworldService.class, "HelloworldComponent");
%>
<html>