aspose file tools*
The moose likes Struts and the fly likes want to learn struts by own Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "want to learn struts by own " Watch "want to learn struts by own " New topic
Author

want to learn struts by own

Dhruva Mistry
Ranch Hand

Joined: Nov 21, 2008
Posts: 67

Hello,

may i ask anyone to provide me links helpful to me for learning struts by own in a very sound way?
and path to follow for learning ie from where to start and then what topic should be next and so on?

Kind Regards,
Dhruva



Dhruva
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8927
    
    9

Our Struts FAQ is a good starting point as it has pointers to numerous tutorials and books.
If you want a well-structured approach, buying a book may be your best bet. I'm a fan of Programming Jakarta Struts for Struts 1 and Struts 2 Design and Programming for Struts 2.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
A strong understanding of the Model-View-Controller design pattern will enable you to learn the Struts framework faster and correctly program the Struts components.

In terms of the design pattern mentioned above, the Struts framework only provides for the Controller and View parts of the design pattern. Keep in mind that the Struts download does not include a View and a Controller, it consists of incomplete code that you customize and extend for your application. In other words, you write the code for your Controller and View parts and use the appropriate pieces from what Struts provides.

In regards to business logic and related code, Struts code is not involved. Coding business logic in the Struts Action classes is the most prevalent mistake made and should be avoided.

Bilal A. Siddiqui
Ranch Hand

Joined: Sep 14, 2008
Posts: 53

Hi dhruva,

You can also refer Struts2 in action by manning publication. Its an ultimate book.


Cheers!!! Bilal
Handsome Android||@bilal_speed||LinkedIn
Dhruva Mistry
Ranch Hand

Joined: Nov 21, 2008
Posts: 67

BilalSiddiqui Siddiqui wrote:Hi dhruva,

You can also refer Struts2 in action by manning publication. Its an ultimate book.


Thank you very much, Joe, Bilal and James

i read somewhere buisness logic is made in java files ie servlets or simpe java files that is for controller part
i seen action mappings in strut-config there we need to provide type and path attributes.

but James, i could not fully understand
In regards to business logic and related code, Struts code is not involved. Coding business logic in the Struts Action classes is the most prevalent mistake made and should be avoided.

would you please simplify it for me?
Thank you!
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
would you please simplify it for me?


Do you understand the differences between (business) logic and (infrastructure/system/service) logic?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: want to learn struts by own