Multiple result types in Struts2?

前端 未结 3 1243
孤独总比滥情好
孤独总比滥情好 2021-01-25 15:35

I have a Struts2 application where I using Tiles. How can I get multiple result types in action-mappings? because I need to set de output as JSON data, and Tiles simultaneous. I

3条回答
  •  無奈伤痛
    2021-01-25 15:53

    create a new result type for Tiles+JSON & use it... you can't define 2 result types in a result tag.

提交回复
热议问题