I want to exclude login action from my default interceptor without putting it a diffrent package
<default-interceptor-ref name="loginStack"></default-interceptor-ref>
the action that i want to exclude is Login Action
<action name="loginUser" class="com.action.LoginAction" method="login">
You don't exclude actions from interceptors, you exclude interceptors from actions.
Specifically, if you want to use the
defaultStackfor yourloginaction and theloginStackfor all the other actions, you do: