I am trying to use the following in my LoginAction class:

@Action(value = "login!login", results = [EMAIL PROTECTED](name = "success", type = "redirectAction", params = {"actionName", "ListAccounts", "namespace", "/account"}
        )})
        public String login() throws Exception {

However, this results in the following message:

0 [main] WARN org.apache.struts2.convention.DefaultResultMapBuilder - Result [success] for action class [LoginAction] is missing the location

To me, the location parameter is only applicable to a result of type "dispatch" and thus the above use case should not result in a warning. Maybe there is some way to remove this without having to hardcode the relationship in the plugin?

Bob







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

Reply via email to