struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swiftelan <...@git.apache.org>
Subject [GitHub] struts pull request: WW-4590 - Allow to use multiple names in resu...
Date Tue, 19 Jan 2016 15:06:18 GMT
Github user swiftelan commented on the pull request:

    https://github.com/apache/struts/pull/75#issuecomment-172880314
  
    Annotations allow multivalued attributes in the form of arrays. Using this makes it obvious
that you can supply multiple result names for a single result configuration.
    
    @Action(results = {
        @Result(name={"error", "input"}, location="input-form.jsp"),
        @Result(name="success", location="success.jsp")
    })
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message