Hi,

I am having trouble getting the redirect-action syntax to work in struts
2.0.11. Here is the relevant portion of my struts.xml file:

struts.xml:
<package name="default" namespace="/" extends="struts-default">
        <action name="results" class="org.project.ResultsAction">
                <result name="success">greeting.jsp</result>
        </action>
</package>
        
<package name="administration" namespace="admin">
        <action name="search" class="org.project.SearchAction">
                <result name="success" type="redirectAction">
                        results
                        /
                </result>
        </action>
</package>

When I start my web server, I receive the following error:

>> There is no result type defined for class 'redirectAction' mapped with
>> name 'success'

I tried changing the type from "redirectAction" to "redirect-action" but it
did not fix the problem.

Does anyone have any suggestions?

Thanks,

David
-- 
View this message in context: 
http://www.nabble.com/Redirect-Action-Problem-with-struts-2.0.11-and-multiple-packages-tp18927692p18927692.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to