Re: Struts ActionForms and DWR/AJAX

2005-09-17 Thread Joe Germuska
I've just recently explored DWR for the first time, and I was quite impressed. However, my take was that of the authors of the page you cited -- there's really not much rationale that I can see for doing anything specifically with Struts and DWR together. Good practice for a Struts applicatio

Re: Struts ActionForms and DWR/AJAX

2005-09-17 Thread Laurie Harper
Michael Jouravlev wrote: On 9/17/05, Laurie Harper <[EMAIL PROTECTED]> wrote: Correct, Struts makes no distinction between GET and POST requests (other than transparently doing the extra request parsing for a POST). What do you mean by "extra request parsing for a POST"? Pulling parameters fro

Re: Struts ActionForms and DWR/AJAX

2005-09-17 Thread Michael Jouravlev
On 9/17/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Frank W. Zammetti wrote: > > Further, I'm almost positive if you were to simply do a GET to an Action > > mapping with XMLHttpRequest, assuming the parameters you include in the > > query string match what would be POSTed from a form, it should

Re: Struts ActionForms and DWR/AJAX

2005-09-17 Thread Laurie Harper
Frank W. Zammetti wrote: Further, I'm almost positive if you were to simply do a GET to an Action mapping with XMLHttpRequest, assuming the parameters you include in the query string match what would be POSTed from a form, it should work the same (never tried that... anyone else know differentl

Re: Struts ActionForms and DWR/AJAX

2005-09-16 Thread Frank W. Zammetti
Thanks for the props Martin! :) Greg... one common misconception about AJAX is that it needs to involve XML. It doesn't (ok, it probably shouldn't be called AJAX in that case, AJA? perhaps...) Note that there is nothing special about a form being submitted to a Struts Action... The Struts H

Re: Struts ActionForms and DWR/AJAX

2005-09-16 Thread Martin Gainty
Greg- check out Frank Zammetti's tutorial for Asynchronous JavaScript with XML http://www.omnytex.com/articles/xhrstruts/ A most excellent primer.. HTH, Martin - Original Message - From: "Greg Pelly" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, September 16, 2005 8: