Include a jquery library in jsp if it doesnt exist

I have 5000 JSP pages in my application in which 2500 pages have jquery library included in them. So still i have 2500 jsp which doesn't have it i cannot add manually in all those files i want a piece of code either in JavaScript or java which should check whether src="jquery/jquery-generic.js" this already exists or not.If not then i need to add it.

I have some functions which are included in all jsp pages so I have added this script code from that function but it is breaking my...

Read More »

By: StackOverFlow - Monday, 12 March

Related Posts