From 8ef8cae3deb705e67aa0f10886ea4a15d25bfadf Mon Sep 17 00:00:00 2001 From: rfeng Date: Mon, 21 Mar 2011 21:39:36 +0000 Subject: Adding missing files git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1083972 13f79535-47bb-0310-9956-ffa450edef68 --- .../webapp/WEB-INF/messages/messages.properties | 20 +++++++ .../src/main/webapp/WEB-INF/sca/sca-context.xml | 41 +++++++++++++ .../src/main/webapp/WEB-INF/sca/servlet.composite | 31 ++++++++++ .../WEB-INF/spring/appServlet/servlet-context.xml | 66 +++++++++++++++++++++ .../webapp/WEB-INF/views/account/createForm.jsp | 68 ++++++++++++++++++++++ .../src/main/webapp/WEB-INF/views/account/view.jsp | 65 +++++++++++++++++++++ .../src/main/webapp/WEB-INF/views/welcome.jsp | 46 +++++++++++++++ 7 files changed, 337 insertions(+) create mode 100644 sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/messages/messages.properties create mode 100644 sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/sca/sca-context.xml create mode 100644 sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/sca/servlet.composite create mode 100644 sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml create mode 100644 sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/views/account/createForm.jsp create mode 100644 sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/views/account/view.jsp create mode 100644 sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/views/welcome.jsp (limited to 'sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF') diff --git a/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/messages/messages.properties b/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/messages/messages.properties new file mode 100644 index 0000000000..666c18126b --- /dev/null +++ b/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/messages/messages.properties @@ -0,0 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +welcome.title=Congratulations! Spring is running! +typeMismatch=could not be parsed \ No newline at end of file diff --git a/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/sca/sca-context.xml b/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/sca/sca-context.xml new file mode 100644 index 0000000000..03a0b89f2e --- /dev/null +++ b/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/sca/sca-context.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/sca/servlet.composite b/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/sca/servlet.composite new file mode 100644 index 0000000000..d5eaa0c042 --- /dev/null +++ b/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/sca/servlet.composite @@ -0,0 +1,31 @@ + + + + + + + + + + + + + diff --git a/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml b/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml new file mode 100644 index 0000000000..b4ea86d1f9 --- /dev/null +++ b/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/views/account/createForm.jsp b/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/views/account/createForm.jsp new file mode 100644 index 0000000000..94863c7e1d --- /dev/null +++ b/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/views/account/createForm.jsp @@ -0,0 +1,68 @@ + +<%@page contentType="text/html;charset=UTF-8"%> +<%@page pageEncoding="UTF-8"%> +<%@ page session="false" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> + + + + + Create Account + + +
+

+ Create Account +

+
+ +
+ Account Fields +

+ Name
+ +

+

+ Balance
+ +

+

+ Equity Allocation
+ +

+

+ Renewal Date
+ +

+

+ +

+
+
+
+
+ +
+ + \ No newline at end of file diff --git a/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/views/account/view.jsp b/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/views/account/view.jsp new file mode 100644 index 0000000000..e913199aaf --- /dev/null +++ b/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/views/account/view.jsp @@ -0,0 +1,65 @@ + +<%@page contentType="text/html;charset=UTF-8"%> +<%@page pageEncoding="UTF-8"%> +<%@ page session="false" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> + + + + + @Controller Example + + +
+

+ View Account +

+
+ +
+ Account Fields +

+ Name
+ +

+

+ Balance
+ +

+

+ Equity Allocation
+ +

+

+ Renewal Date
+ +

+
+
+
+
+ +
+ + \ No newline at end of file diff --git a/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/views/welcome.jsp b/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/views/welcome.jsp new file mode 100644 index 0000000000..7d8f41060f --- /dev/null +++ b/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/main/webapp/WEB-INF/views/welcome.jsp @@ -0,0 +1,46 @@ + +<%@page contentType="text/html;charset=UTF-8"%> +<%@page pageEncoding="UTF-8"%> +<%@ page session="false" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> + + + + <fmt:message key="welcome.title"/> + + +
+

+ +

+

+ Locale = ${pageContext.response.locale} +

+
+ + +
+ + \ No newline at end of file -- cgit v1.2.3