I made a similar post previously but I changed some things and may have shed some different light on the problem.

I'm trying to catch all requests to "/secure/etc":

   <package name="my-secure-url" extends="my-secure" namespace="/secure**">
       <action name="*" class="actions.secure.SecurePassThrough">
           <interceptor-ref name="secureStack"/>
           <result>{1}</result>
        </action>
   </package>

I have an interceptor that fires and if the user logs in, calls invoke. I also created an empty action class that just returns success called SecurePassThrough. After invoke is called and before the action is reached, an error is thrown that says this: WARNING: Error setting expression '0' with value '/secure/update'
ognl.InappropriateExpressionException: Inappropriate OGNL expression: 0

The action, SecurePassThrough still fires and returns success but I just get a 404, resource not available error even though the resource is where it's supposed to be.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to