aspose file tools*
The moose likes Struts and the fly likes AJAX saving in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "AJAX saving in struts2" Watch "AJAX saving in struts2" New topic
Author

AJAX saving in struts2

Rahul Solanki
Greenhorn

Joined: Aug 02, 2011
Posts: 4
I am using Struts2 and ajax to save code.



Struts.xls
<action name="saveData" class="dataAction" method="saveComment">
<result name="success">mycomment.jsp</result>
</action>

Here the page gets reloaded which should not happen in ajax. I am new to struts2 and ajax please let me know if I am missing something or passing some wrong parameter in struts.xml.

Thanks.
Rahul
 
 
subject: AJAX saving in struts2