ajax : multiple ajax calls for included js files inside jsp fragment

Posted by Nrj on Stack Overflow See other posts from Stack Overflow or by Nrj
Published on 2010-03-22T07:17:44Z Indexed on 2010/03/22 7:21 UTC
Read the original article Hit count: 518

Filed under:
|
|

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.

Is there a way to include the js files and send the response in one go ?

© Stack Overflow or respective owner

Related posts about jsp

Related posts about AJAX