On 3/14/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi > I have a couple of questions below > 1 What is the best soluction to have struts and AJAX > work together?
Depends on what do you want from Ajax > I have read about DWR, Java Web parts, AjaxAnywhere, > But which is the good one, and why? They all are pretty good ;-) Here is another one: http://jspcontrols.sourceforge.net/ Unlike some other Ajax-only solutions this works without Ajax too, so you can use Netscape 4 if you need. It is not intended for "suggests"-type use, though. It is more coarse-grained portlet-like solution. > 2 What is better for response XML file or comman > delimeted string, or build HTML in action class and > pass it to java script to replace it. http://www.quirksmode.org/blog/archives/2005/12/the_ajax_respon.html#c3942 > 3 Also if i have my own java script to do Ajax > what do i return in Action class, normally in action > class i do > mapping.findForward("success"); after loading the > form, this will redirect response to the required JSP. > How does this change in AJAX, how do i reload only > part of JSP. Depends on what style of Ajax interaction you want. Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]