You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by do...@apache.org on 2008/08/06 11:42:08 UTC

svn commit: r683201 [3/3] - in /incubator/empire-db/trunk/struts2-ext/DBWebSample: ./ .settings/ WebRoot/ WebRoot/META-INF/ WebRoot/WEB-INF/ WebRoot/css/ WebRoot/jsp/ src/ src/org/ src/org/apache/ src/org/apache/empire/ src/org/apache/empire/struts2/ s...

Added: incubator/empire-db/trunk/struts2-ext/DBWebSample/src/struts.properties
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/struts2-ext/DBWebSample/src/struts.properties?rev=683201&view=auto
==============================================================================
--- incubator/empire-db/trunk/struts2-ext/DBWebSample/src/struts.properties (added)
+++ incubator/empire-db/trunk/struts2-ext/DBWebSample/src/struts.properties Wed Aug  6 02:42:05 2008
@@ -0,0 +1,2 @@
+struts.custom.i18n.resources=messages
+struts.devMode=true

Added: incubator/empire-db/trunk/struts2-ext/DBWebSample/src/struts.xml
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/struts2-ext/DBWebSample/src/struts.xml?rev=683201&view=auto
==============================================================================
--- incubator/empire-db/trunk/struts2-ext/DBWebSample/src/struts.xml (added)
+++ incubator/empire-db/trunk/struts2-ext/DBWebSample/src/struts.xml Wed Aug  6 02:42:05 2008
@@ -0,0 +1,59 @@
+<!DOCTYPE struts PUBLIC 
+	"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
+	"http://struts.apache.org/dtds/struts-2.0.dtd">
+<struts>
+
+    <!-- 
+    <constant name="struts.devMode" value="true" />
+    <constant name="struts.enable.DynamicMethodInvocation" value="false" />
+     -->
+
+	<!-- Configuration for the default package. -->
+	<package name="sample" namespace="" extends="struts-default">
+
+        <interceptors>
+			<!-- esteam Interceptors -->
+	        <interceptor name="actionBasics" class="org.apache.empire.struts2.interceptors.ActionBasicsInterceptor" >
+	        	<param name="errorAction">login!doError</param>
+	        </interceptor>
+
+			<!-- esteam Interceptors -->
+	        <interceptor name="actionAccess" class="org.apache.empire.struts2.interceptors.ActionAccessInterceptor" >
+	        	<param name="loginAction">login!doInit</param>
+	        	<param name="accessDeniedAction">login!doInit</param>
+	        </interceptor>
+	
+	        <!-- Basic stack -->
+	        <interceptor-stack name="sampleStack">
+	            <interceptor-ref name="actionBasics"/>
+	            <interceptor-ref name="actionAccess"/>
+	            <!-- interceptor-ref name="servlet-config"/ -->
+	            <!-- interceptor-ref name="prepare"/ -->
+	            <!-- interceptor-ref name="checkbox"/ -->
+	            <interceptor-ref name="params"/> 
+	            <!-- interceptor-ref name="conversionError"/ -->
+	        </interceptor-stack>
+	
+        </interceptors>
+
+		<!-- Default interceptor stack. -->
+		<default-interceptor-ref name="sampleStack"/>
+
+	    <!-- Static Params Interceptor -->
+		<action name="login" class="org.apache.empire.struts2.websample.web.actions.LoginAction" method="doInit">
+			<result name="input">/jsp/login.jsp</result>
+			<result name="success" type="redirect-action">employeeList!doInit</result>
+		</action>
+
+		<action name="employeeList" class="org.apache.empire.struts2.websample.web.actions.EmployeeListAction" method="doInit">
+			<result name="search">/jsp/employeeSearch.jsp</result>
+			<result name="list">/jsp/employeeList.jsp</result>
+		</action>
+
+		<action name="employeeDetail" class="org.apache.empire.struts2.websample.web.actions.EmployeeDetailAction" method="doLoad">
+			<result name="input">/jsp/employeeDetails.jsp</result>
+			<result name="return" type="redirect-action">employeeList!doList</result>
+		</action>
+
+	</package>
+</struts>

Added: incubator/empire-db/trunk/struts2-ext/DBWebSample/tomcatplugin_delivery-version
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/struts2-ext/DBWebSample/tomcatplugin_delivery-version?rev=683201&view=auto
==============================================================================
--- incubator/empire-db/trunk/struts2-ext/DBWebSample/tomcatplugin_delivery-version (added)
+++ incubator/empire-db/trunk/struts2-ext/DBWebSample/tomcatplugin_delivery-version Wed Aug  6 02:42:05 2008
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<tomcatProjectProperties>
+    <rootDir>/WebRoot</rootDir>
+    <exportSource>false</exportSource>
+    <reloadable>true</reloadable>
+    <redirectLogger>false</redirectLogger>
+    <updateXml>true</updateXml>
+    <warLocation></warLocation>
+    <extraInfo></extraInfo>
+    <webPath>DBWebSample</webPath>
+    <webClassPathEntries>
+        <webClassPathEntry>/DBWebSample/WebRoot/WEB-INF/lib/empire-db-2.0.3.jar</webClassPathEntry>
+        <webClassPathEntry>/DBWebSample/WebRoot/WEB-INF/lib/empire-struts2-ext-1.0.3.jar</webClassPathEntry>
+        <webClassPathEntry>/DBWebSample/WebRoot/WEB-INF/lib/commons-beanutils-1.7.0.jar</webClassPathEntry>
+        <webClassPathEntry>/DBWebSample/WebRoot/WEB-INF/lib/commons-collections-3.2.1.jar</webClassPathEntry>
+        <webClassPathEntry>/DBWebSample/WebRoot/WEB-INF/lib/commons-logging-1.0.4.jar</webClassPathEntry>
+        <webClassPathEntry>/DBWebSample/WebRoot/WEB-INF/lib/hsqldb.jar</webClassPathEntry>
+        <webClassPathEntry>/DBWebSample/WebRoot/WEB-INF/lib/log4j-1.2.14.jar</webClassPathEntry>
+        <webClassPathEntry>/DBWebSample/WebRoot/WEB-INF/lib/ognl-2.6.11.jar</webClassPathEntry>
+        <webClassPathEntry>/DBWebSample/WebRoot/WEB-INF/lib/struts2-core-2.0.11.2.jar</webClassPathEntry>
+        <webClassPathEntry>/DBWebSample/WebRoot/WEB-INF/lib/xwork-2.0.5.jar</webClassPathEntry>
+        <webClassPathEntry>/DBWebSample/build/classes</webClassPathEntry>
+    </webClassPathEntries>
+</tomcatProjectProperties>