June 2004
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      

May 13, 2003

New Powerpoint Presentation on Struts 1.1 Available

Kevin and I gave a (very well attended) presentation on Struts 1.1 to the New England Java User's Group in May. You can download the PowerPoint slides here.

March 29, 2003

New Powerpoint Presentation on Indexed Properties and Validation

James gave a talk on using Indexed Properties with Struts forms, and some advanced Validation topics for the Basebeans folks today.You can download the powerpoint slides that accompanied the talk here.

March 21, 2003

Some recent and upcoming appearances

On March 19th, James was interviewed by Sys-Con radio at the WebEdge conference in Boston. You can hear the interview here

On May 8th at 6PM, Kevin and James will be presenting a talk on Struts at the New England Java Users Group, more information is available here

March 05, 2003

Recent Errata from Readers

From reader Gary and reader Marcus Caton:

Hello world application contains error. focus="username" should be focus="person" otherwise there are javascript errors and no focus.

Listing 3.1 - hello.jsp

html:form tag focus="username" attribute should be focus="person".

From reader Dan Allen:

Shouldn't you mention that the perform() method in the Action has been deprecated and is now the execute() method (if you are going to keep up to date with Struts 1.1).

Also, the ActionForward has been deprecated for ForwardConfig, which now has the ability to perform a redirect outside of the current application, contrary to the discussion at the end of Chapter 8. Doing the response.redirect() is now an unnecessary interjection.

I really question the need for the query string on the form definition.

form action="/HelloWorld.do?action=gotName"

When you request hello.jsp, the HelloAction class never get's instantiated, so it will have the same affect.

It also seems that the message resources file on the cd is named ApplicationResources.properties even though the struts-config.xml points to a Application.properties under ch03/hello

Good catches, Dan. As you might imagine, it was a real struggle to keep up with everything changing as 1.1 prepared to go out the door. We are trying to catch anything we missed here.

We're also trying to improve the chapter 3 stuff, as I mentioned elsewhere, Kevin's done a new version of the zip file.

- James

Zip file for Chapter 3 now available

Kevin's done a new and improved HelloWorld webapp that should hopefully help anyone who had problems with the version of the app found in chapter 3.

He's also written a length article on how to install it, which should be up on Gamelan, we'll provide a link once it's live.

The new printing of the book will also include a new appendix, which covers installation.

You can download the zip file here.