Multiple result types in Struts2?

前端 未结 3 1213
孤独总比滥情好
孤独总比滥情好 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:58

    How about if u have 2 diff results?!

    
    
    tiles.home
    

    then in your server code u just route to the right one?!

提交回复
热议问题