Re: using global-results = no Action mapped for namespace / and action n.,
Martin Berg <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <7258378.1150200677817.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
Thanks for your response, I tried to do the thing that you suggested (below). But the only thing that happens is that I get an endless loop, this aught to meaning that I did an error. But I can't find it.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 1.0//EN" "http://www.opensymphony.com/xwork/xwork-1.0.dtd">
<xwork>
<include file="webwork-default.xml" />
<include file="config-browser.xml" />
<package name="default" extends="webwork-default">
<interceptors>
<interceptor name="auth" class="com.acme.interceptor.AuthenticationInterceptor"/>
<interceptor-stack name="default">
<interceptor-ref name="auth"/>
<interceptor-ref name="completeStack"/>
</interceptor-stack>
</interceptors>
<default-interceptor-ref name="default"/>
<global-results>
<result name="login" type="redirect">login!default.action</result>
</global-results>
<!-- LOGIN -->
<action name="login" class="com.acme.action.LoginAction" method="verifyLogin">
<result name="input" type="freemarker">/WEB-INF/src/templates/login.ftl</result>
<result name="success" type="freemarker">/WEB-INF/src/templates/home.ftl</result>
</action>
<!--Additional Actions-->
</package>
</xwork>
I have tried to find similar problems in the forum but not succeeded in this. Most likely because I don't know what to look for.
TIA Martin
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=34156&messageID=66465#66465
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]