This is vikas. I am COMPLETELY NEW TO STRUTS(struts2 framework). I have a task to use jquery to make ajax call to the actionclass of the JSP from which i m trying to make a call.
My JSP has 2 forms, the aim is to make actionclass call from one form, with loading the entire page. I am putting the jsp code without jquery for your reference:
I need to make a jquery ajax call from the second form submit tag(without reloading of the entire page)... I am completely clueless of what to do... pleease pleease help me.. with the steps to be done.
When rendering the page,when container encounters sj:div ,it looks for href and makes a call to particular action class(in s:url).It will just update the page with the result fragment returned by your method in action class in the particular div area in the jsp.
In this way you can call multiple actions from the same page by adding multiple sj:div's