tags:

views:

20

answers:

1

i want to use ajax and javascript in struts 1.1 application because i want to make datagrid with insert,update,delete.

A: 

There's a tutorial here that shows you how to. I've done it a while back.

Basically, what you have to do is to create a DispatchAction or LookupDispatchAction that returns a null result so that Struts doesn't have to process the ActionForward.

Instead, for your action methods, you'll have to write your responses as text into the HttpServletResponse.

Other solution is AjaxAnywhere or view AjaxStruts

The Elite Gentleman