• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Bear Bibeault
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Jj Roberts

want to learn struts by own

 
Ranch Hand
Posts: 67
Mac Eclipse IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


 
Bartender
Posts: 9615
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Ranch Hand
Posts: 53
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi dhruva,

You can also refer Struts2 in action by manning publication. Its an ultimate book.
 
Dhruva Mistry
Ranch Hand
Posts: 67
Mac Eclipse IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

would you please simplify it for me?



Do you understand the differences between (business) logic and (infrastructure/system/service) logic?
 
Bring out your dead! Or a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic