That really depends on what you are actually trying to do. We use J/S to make XML HTTP requests (using AJAX) to make requests without having to reload the page. We do this to display "dialogs" in the same browser window, e.g., to show report details.
If you want other examples, Google's Gmail uses AJAX all over the place. If you just want to submit the form, you don't even need J/S, you can use <html:submit> which will render a button to submit the form (it just needs to be inside the <html:form><html:form/> elements. -Adam -----Original Message----- From: Akshay Ahooja [mailto:[EMAIL PROTECTED] Sent: Thursday, 13 July 2006 08:59 To: Struts Users Mailing List Subject: Calling a struts action from Javascript Hi, Does anyone know how to call a Struts action using Javacript... I am using: <html:form action+"..."> ... </html:form> I know for regular form tags (<form>) you can use: document.formname.submit ()... How would you do it for <html:form>? I have to use this because I am using the Struts Bridge in Jetspeed-2... Thanks, Akshay