File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes which book to refer for struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "which book to refer for struts" Watch "which book to refer for struts" New topic

which book to refer for struts

bunty shinde

Joined: Aug 22, 2008
Posts: 2
I am new to Struts,please tell which book and version to follow and how should i start.
Thank you.
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 689


Yes, you can direct move on Struts 2.0.
But first atleast know flow of struts 1.3 because you get better idea and difference of two version.

Struts 2.0 is easy to learn and understand. Coding with struts 2.0 is easy to develop.

Even you can get easy plug-in for Struts 2.0.

With Struts 2.0 you can easy integrate Struts 1.3 and Spring framwork too.

So better to direct start Struts 2.0.

Struts 2.x is more advanced and easy to understand compare to Struts 1.x.

You also get easy plug-in for Struts 2.x

Struts 1 vs.
● Action
● ActionForm
● ActionForward
● struts-config.xml
● ActionServlet
● RequestProcessor
● validation.xml

Struts 2

● Action
● Action or POJO
● Result
● struts.xml
● FilterDispatcher
● Interceptors
● Action-validation.xml

You can learn it from Roseindia site Struts 2 tutorial .

Nishan Patel.

Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2068
There is a Struts 2 in action book.
Paul Michael
Ranch Hand

Joined: Jul 02, 2001
Posts: 697
Hi Nishan,

IMHO, I don't see the advantage of also checking out the older version if you're just trying out struts for the first time.

It's like studying EJB 2.1 and EJB 3 at the same time.

It might get a little confusing.


SCJP 1.2 (89%), SCWCD 1.3 (94%), IBM 486 (90%), SCJA Beta (96%), SCEA (91% / 77%), SCEA 5 P1 (77%), SCBCD 5 (85%)
David Newton

Joined: Sep 29, 2008
Posts: 12617

I'm with Paul; if you don't know either version of Struts there's no particular reason to learn Struts 1 (unless your boss tells you to!)
I agree. Here's the link:
subject: which book to refer for struts
It's not a secret anymore!