I already have a simple application, to experiment I am implementing the same in Struts 2. In an old app I've used jQuery, now can I use directly the same jquery.js
here or shall I opt for Struts 2 jQuery Plugin?
I tried with jquery.js
, I am getting null pointer exception. So I am confused now. Some one tell the difference between two. Both are jQuery only wright?
Try setting loadAtOnce
in <sj:header>
tag to true
to disable on demand script loading. So the jQuery
script will be loaded at page load. You should be able to use your own library scripts without manually loading your own copy of jquery.js
.