File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AJAX saving in struts2

 
Rahul Solanki
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic