I have a form in which some fields must be submitted to one controller and other fields to another controller. There is also some overl开发者_Go百科ap.
I need to submit these fields via an ajax call(s).
What's the best way to do this in Spring 3 MVC?
- Gather the data with javascript (jquery). Do that by id / name, regardless of the fact they are in on form.
- Make two separate ajax requests to two different urls, mapping two different methods
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论