I’m not sure what the second paramater should be in the setAttribute method as it is cut-off in the demo.
It should be the variable, I believe it was called “name” as well.
Also, is there any additional struts tutorials available?
Yes infact we just got 2 new ones, here http://www.myeclipseide.com/images/tutorials/Struts_Dispatch.html and here http://www.myeclipseide.com/images/tutorials/Struts_Dyna.html
NOTE: If you watch those demos and get enchanted with LookupDispatchAction I would highly suggest downloading Struts 1.2 snapshots and looking into the MappingDispatchAction. Its a heck of a lot more straight forward and doesn’t require so much round-about parameter passing. You just point to the action, and in the parameter field you give the method name, that’s it. I started to move my entire app over to LookupDispatchActions after watching that demo (BTW thank you very much for the author to take the time to submit that!) and ran into a lot of trouble trying to use forwards back to the action itself. I asked around on the Struts User list and it turned out that MappingDispatchAction is new in 1.2 and takes care of all those shortcommings, so I gave it a try and loved it. Now all my common actions have been consolidated into single class files, really trimming down on the source files in the project by about 1/6.