You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2007/09/18 08:34:10 UTC

svn commit: r576722 - /incubator/tuscany/branches/sca-java-1.0/samples/helloworld-ws-sdo-webapp/src/main/webapp/HelloWorld.jsp

Author: jsdelfino
Date: Mon Sep 17 23:34:09 2007
New Revision: 576722

URL: http://svn.apache.org/viewvc?rev=576722&view=rev
Log:
Minor fix, add a cast to the JSP code to make the JSP compiler happy.

Modified:
    incubator/tuscany/branches/sca-java-1.0/samples/helloworld-ws-sdo-webapp/src/main/webapp/HelloWorld.jsp

Modified: incubator/tuscany/branches/sca-java-1.0/samples/helloworld-ws-sdo-webapp/src/main/webapp/HelloWorld.jsp
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.0/samples/helloworld-ws-sdo-webapp/src/main/webapp/HelloWorld.jsp?rev=576722&r1=576721&r2=576722&view=diff
==============================================================================
--- incubator/tuscany/branches/sca-java-1.0/samples/helloworld-ws-sdo-webapp/src/main/webapp/HelloWorld.jsp (original)
+++ incubator/tuscany/branches/sca-java-1.0/samples/helloworld-ws-sdo-webapp/src/main/webapp/HelloWorld.jsp Mon Sep 17 23:34:09 2007
@@ -26,7 +26,7 @@
 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
 <%
     SCADomain scaDomain = (SCADomain) application.getAttribute("org.apache.tuscany.sca.SCADomain");
-    HelloWorld helloWorld = scaDomain.getService(HelloWorld.class, "HelloWorldServiceComponent");
+    HelloWorld helloWorld = (HelloWorld)scaDomain.getService(HelloWorld.class, "HelloWorldServiceComponent");
 %>
 <html>
 <head><title>Hello World SDO sample</title></head>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org