Sunday, May 18, 2008

Podcast of Battle of the Web Application Frameworks

Just a quick note to let you know that the podcast of the battle of the frameworks has been posted by the folks at Chariot Solutions; they're the ones that put on the Emerging Technologies conference in Philadelphia that I wrote about a while back. This panel discussion features luminaries from Rails, Seam, JQuery, Open Laszlo, Flex, and more. Entertaining as well as informative. Let me know what you think.

8 comments:

Anonymous said...

Hi Chad,

Trying to locate the HelloWorld.war you mention in 'Struts2 In Action'. The zip archive on the Manning's website contains the full sample application but not the separate HelloWorld.war. Thanks

Chad Davis said...

I'm glad you visited my blog. As for your question, I've just been a bit delayed in posting the new version of the sample application. I'll do it this week!

I would also refer you to the book's author forum on the Manning web site for all topics related specifically to the book. No harm no foul, but you'll find much better answers to your questions in that forum.

Anonymous said...

Hi,

Thanks for your reply. I would have posted to those forums but they haven't been responding (for roughly the last 72 hours)..

In section "3.5.3 Looking at the Struts 2 Portfolio example code" there seems to be an inconsistency between the book and the sample application. Listing "3.12" does not include the "String fileSystemPath;" property? I cannot see where this gets set? It is used in the execute method, "getPortfolioService().addImage( getPic(), getPicFileName(), fileSystemPath );"

Im getting this error when i try upload a file:

SEVERE: ParametersInterceptor - [setParameters]: Unexpected Exception caught setting 'picContentType' on 'class manning.chapterThree.ImageUpload: Error setting expression 'picContentType' with value '[Ljava.lang.String;@101ea1e'

Thanks again :)

Thanks again :)

Anonymous said...

Sorry ignore the bit about fileSystemPath, i now see it is configured in chapterThree.xml :)

Still confused about the error setting ContentType..

Thanks

P.S Sorry for hijacking this blog :(

Chad Davis said...

Yeah, the forums look to be down. That's kind of horrible. I'll check that out right now. Thanks for the heads up.

Chad Davis said...

I've sent the new sample application, complete with HelloWorld.war, over to the Manning people. Apparently, their ISP has had some sort of "explosion" and isn't back up yet -- the forums server anyway. Keep an eye on the book page for the fresh download. And let me know if it's not there in a couple of days.

As for that params interceptor, that's just because it tries to set all of the parameters that came in with the request. If you don't expose some sort of property, on your action or in any of the other places that may find their way to the ValueStack, then the params interceptor complains when it can't find a home for the value. But this is not a problem. Add a property to recieve that content type and it will go away, but it you don't need the content type, don't sweat it. Inappropriately worded error message, perhaps, but not really an issue.

Anonymous said...

Thanks Chad.

Forums are now up. I will be looking out for the new Sample Application.

Regarding the ContentType error message, the ImageUpload.java file in Chapter 3 does have a field called picContentType with both a getter and setter method. However the setter method is protected, changed to public and i no longer get this error :)

Thanks

Chad Davis said...

Hmm. I bet that was addressed in the new version of the sample app. But I can't really remember now. If not, i'll have to fix it.