my dog learned polymorphism*
The moose likes Struts and the fly likes Advanced Action Classes Article (DispatchAction and LookupDispatchAction) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Advanced Action Classes Article (DispatchAction and LookupDispatchAction)" Watch "Advanced Action Classes Article (DispatchAction and LookupDispatchAction)" New topic
Author

Advanced Action Classes Article (DispatchAction and LookupDispatchAction)

Rick Hightower
Author
Ranch Hand

Joined: Feb 20, 2002
Posts: 350
http://doc.advisor.com/Articles.nsf/nl/13372
BOOK EXCERPT:
Professional Jakarta Struts: Advanced Action Classes
This book chapter discusses the built-in Action classes that come with the Jakarta Struts Java development framework. Get a basic understanding of these actions and how to use them to make application design easier.
By James Goodwill and Rick Hightower

ARTICLE INFO
JAVA ADVISOR PORTAL
Doc # 13372
9 December 2003
Length 12 pages
In this chapter, we dig further into the Controller components of the Struts framework by covering the built-in Action classes that come with Struts. Our goal is to provide you with a solid understanding of the Struts built-in actions and how they can be used to facilitate the design of your Struts applications.

This article is an excerpt from the book Professional Jakarta Struts from Wrox Press. The Apache Software Foundation's Jakarta Struts is a popular Java framework for building enterprise-level Web applications. In the book, the authors present the technical and conceptual information you need to design, build, and deploy sophisticated Struts 1.1 applications. They cover Struts and its supporting technologies, including JSPs, servlets, Web applications, the Jakarta-Tomcat JSP/servlet container, and more.
For more information, visit http://www.wrox.com.
The Struts Framework provides several built-in actions. A few of these are essential for any Struts application. Others are necessary to add cohesion to what would normally be a granular collection of related actions.


Rick Hightower is CTO of Mammatus which focuses on Cloud Computing, EC2, etc. Rick is invovled in Java CDI and Java EE as well. linkedin,twitter,blog
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4419
    
    5

Good article. I added a comment about one part that I think could cause a little confusion for newbies.


Junilu - [How to Ask Questions] [How to Answer Questions]
Rick Hightower
Author
Ranch Hand

Joined: Feb 20, 2002
Posts: 350
Thanks. The book is finally doing pretty well.
Struts book doing well: Professional Struts:
For a while the first edition of our Struts book was outselling the second edition. It sure did not help that the first edition was under a Wiley imprint and the second edition was under a Wrox imprint, and they changed the name of the book. My understanding is that Wiley bought the rights to Wrox name and their best selling books when Wrox went out of business. Now the book is third on Amazon (out of all Struts books), which is not too bad considering the Orielly's book and Ted Husted's book are number 1 and 2.
For a while, the book was second on bookpool right after the Orielly book, which blows my mind. Now the book is no longer second on book pool, it is has dropped. This could be because bookpool is out of stock! Come on. WHY!? Print more! Arrrrrrrrrrrrgggggggggggggghhhhhhhhhhhhhhhhhhh!
You may wonder why I care. Mainly, if I am going to spend time writing a book, I want people to read it. Perhaps this is vain. James Goodwill was the primary author, and he has a very good writing style, which I mostly adopted. (I wrote the best practices chapter, built-in actions chapter, validator framework chapter, and the tiles chapter).
The biggest complaint about the book seems to be that it does not cover Linux installation. Hey, if you can not translate the Windows instructions to Linux instruction in your head, then you probably should not be using Linux. We expect more from Java/Linux developers.
What I think really differentiates the book from other books is the step-by-step instructions, which is great for reference or Struts novices.
We cover the steps. Then we should the code for each step, explaining the step along the way. We wrote the book the way we like technical books written.
I sure wish JavaRanch would feature this book.
I am a regular to the JavaRanch Struts forum, and could use the plug!
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4419
    
    5

Originally posted by Rick Hightower:
I sure wish JavaRanch would feature this book.

No guarantees but I'll pass word up to the bosses.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Originally posted by Rick Hightower:
I sure wish JavaRanch would feature this book.
I am a regular to the JavaRanch Struts forum, and could use the plug!

Any requests to run a book promotion need to be sent to me. Make sure your publicist is plugged in and is willing to send out the four books as prizes.
Hmmm... last time I asked you to promote a book with us you never responded! But don't worry... I won't hold that against you.
Rick Hightower
Author
Ranch Hand

Joined: Feb 20, 2002
Posts: 350

Hmmm... last time I asked you to promote a book with us you never responded! But don't worry... I won't hold that against you.

Sorry... I am a rat bastard. Actually, there is more to it than that.... Maybe next JavaOne, we can have some beers together and I'll explain what happened. It was nothing personal.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Advanced Action Classes Article (DispatchAction and LookupDispatchAction)
 
Similar Threads
Errata: Peter's too modest...
Programming Jakarta Struts - Release Announcement - O'Reilly
Usage of Both DynaValidatorForm and DispatchAction
more on struts validation
where to put validation code???