Skip to content

Instantly share code, notes, and snippets.

@theresajayne
Created October 27, 2011 13:47
Show Gist options
  • Save theresajayne/1319577 to your computer and use it in GitHub Desktop.
Save theresajayne/1319577 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<include file="struts-default.xml"/>
<constant name="struts.action.excludePattern" value="*/login,/dashboard,/jsp/*" />
<constant name="struts.devMode" value="true"/>
<constant name="struts.action.extension" value="action"/>
<constant name="struts.objectFactory" value="spring"/>
<constant name="struts.configuration.xml.reload" value="true"/>
<package name="organisation" namespace="/organisation" extends="struts-default">
<action name="create" class="organisationAction" method="create">
<result name="success" >/jsp/organisation.jsp</result>
</action>
</package>
<package name="login" namespace="/" extends="struts-default">
<action name="login" class="uk.co.inbrand.actions.LoginAction" method="execute">
<result name="success" >/jsp/dashboard.jsp</result>
</action>
</package>
</struts>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment