Saturday 15 June 2013

jquery - js files loading separately in web application -



jquery - js files loading separately in web application -

i have noticed in web application 1 time phone call servlet returns , jsp loading, can see jquery js files utilize datatables loading separately. attached screen shot. there configuration need in web.xml or something?

check screen shot firebug snapshot

this not happen on jsp using datatables well. have checked code in both jsps , reference files same below. when invoke first jsp dont see separately loading files when invoke sec jsp, can see loading files in firebug , hence takes few seconds longer page load. doing wrong?

class="snippet-code-html lang-html prettyprint-override"><link rel="stylesheet" type='text/css' href="css/styles.css"> <link rel="stylesheet" type='text/css' href="css/jquery-ui.css"> <link rel="stylesheet" type="text/css" href="css/jquery.datatables.css"> <script type="text/javascript" charset="utf8" src="script/jquery-1.10.2.min.js"></script> <script type="text/javascript" charset="utf8" src="script/jquery-ui.js"></script> <script type="text/javascript" charset="utf8" src="script/jquery.datatables.js"></script>

jquery jsp datatables web-application-project

No comments:

Post a Comment