This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "AJAX saving in struts2" Watch "AJAX saving in struts2" New topic

AJAX saving in struts2

Rahul Solanki

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

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

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.

I agree. Here's the link:
subject: AJAX saving in struts2
It's not a secret anymore!