I also tried switching to the nested-elements syntax for my action:

      <action name="saveNewType" class="my.package.TypeManagement"
method="saveNew">
           <interceptor-ref name="adminCheck"/>
           <result name="success" type="redirect-action">
               <param name="actionName">manageCourseTypes</param>
               <param name="namespace">/mgt</param>
               <param name="id">${id}</param>
           </result>
       </action>

Which produced:

[OLT] WARN [http-8080-Processor25] OgnlUtil.internalSetProperty(369) |
Caught OgnlException while setting property 'id' on type '
org.apache.struts2.dispatcher.ServletActionRedirectResult'.

and a stack trace for

ognl.NoSuchPropertyException:
org.apache.struts2.dispatcher.ServletActionRedirectResult.id


-Brian


On 2/5/07, Nate Drake <[EMAIL PROTECTED]> wrote:

Try using the "redirect-action" result type.

http://struts.apache.org/2.x/docs/redirect-action-result.html

Reply via email to