I have been able to use Jquery with ASP.NET because I know where to drop the JQuery Library, but I am trying to integrate JQuery with Java Web Applications using JSP’s,Servlets, etc.
It seems like a trivial question, but for some reason I am unable to figure out where to drop the JQuery Javascript file.
Put it under your web structure. (i.e.)
webroot/static/scripts/jquery/jquery.jsSo you can acces from:
http://host:port/webroot/static/scripts/jquery/jsquery.js
The web structure is kindly arbitrary (expect for the
WEB-INFdirectory).All the resource are public under the root, expect (again) the resources under
WEB-INF.I hope it helps you.