if we go like this in struts application, this is struts architecture violation.
so how to do this in struts(struts+ajax) without architecture violation. please help me any help will greatly cherished
I do not think that the architecture police will come and get you! ;-) I suggest searching this form for the term "ajax" as a good place to start. I am considering integrating AjaxAnywhere into an existing Struts application (http://ajaxanywhere.sourceforge.net/). It is probably not the best solution for a new project but seems okay for a "legacy" application.