Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

which book to refer for struts

 
bunty shinde
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I am new to Struts,please tell which book and version to follow and how should i start.
Thank you.
 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI..

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 .



Thanks,
Nishan Patel.
 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a Struts 2 in action book.
 
Paul Michael
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thoughts?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic