Reputation: 1541
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?
Upvotes: 0
Views: 737
Reputation: 1
If you have got NullPointerException
, it doesn't mean that JQuery or plugin has bugs. You are getting errors because you are doing something wrong in the code, misunderstanding or something.
Struts 2 JQuery is a tag library that you can use with Struts 2 framework. It contains the JQuery inside it. JQuery is only a JavaScript library. Using the plugin you have Ajax support with Struts 2 framework.
Upvotes: 1