I have one jsp say jsp1 page that sometimes need to load independently and sometime I need to do AJAX call to embed that page (simply injecting a whole page with headers) inside my other jsp say jsp2. Both jsp pages have jQuery defined.
But now the issue I am facing is, if I do an AJAX call to include jsp2 inside my jsp1, jQuery is defined twice and causing all sort of issue.