struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wes Wannemacher <>
Subject Re: Any hint of JQuery on struts2 tutorial, thanks!
Date Tue, 28 Apr 2009 15:09:09 GMT
On Tue, Apr 28, 2009 at 10:39 AM, fireapple <> wrote:
> Hi, Wes, on the table of content of the book, I didn't find anything related
> to JQuery and Struts2. Since JQuery is similar with JavaScript, can we say
> we can use JQuery in Struts2 as soon as we can use JavaScript in Struts2?
> Thank you. I'm a new programmer with stupid questions,:-)

JQuery is a JavaScript framework/library, so if you are using JQuery
with Struts2, then you are using JavaScript with Struts2. Depending on
how new you are to programming, there may be better places to start.
JQuery isn't similar to JavaScript, it is JavaScript in the same way
that Struts is Java. JQuery takes many of the things that are
difficult in JavaScript and makes them easier. You are still using
JavaScript, but rather than writing 20 lines of code, you write just a
few. Looking back through the ToC, I guess I don't make it clear that
there is JQuery coverage specifically, but as I mentioned before, the
examples so far are already using JQuery. It may be hard to pick
things up through the examples if you are not already experienced with
the other topics. The example I mentioned to earlier incorporates
Struts 2 with Spring, JPA, a generic DAO setup, JSON, Struts 2
Conventions and JQuery. If you've never used JPA or Spring, there
would be quite a bit thrown at you in one example.

Depending on your goal, there are a few other routes you might want to
take before jumping into an advanced book. If you are looking to learn
more about Struts 2, my book is a follow-up to another book called
Struts 2 In Action that is a very well-written introduction and
reference on Struts 2 core topics. If you are already familiar with
Struts 2, but want to learn more about AJAX, then start by learning a
bit about JavaScript core and AJAX... Manning has another book
( that has been a good seller for them.

My book isn't meant to be a reference only on Struts 2 and AJAX. It is
meant to give examples and best practices for integration with many of
the popular topics that come up on this list. Plus, it will give
examples on more advanced topics that haven't come up yet, but will


Wes Wannemacher
Author - Struts 2 In Practice
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message