I am including a jsp fragment by making an ajax call. Now this jsp frag happened to include several js files.
When the ajax request is completed, it is loading each of the included js files (on fragments) using a separate get request. (I checked this using firebug.)
Now is this the correct behavior (making separate get calls) or am I missing something.
I开发者_如何学Gos there a way to include the js files and send the response in one go ?
The only way to get with in a single request, is to merge them into a single file.
精彩评论