my dog learned polymorphism*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AJAX saving in struts2
 
Similar Threads
Ajax using dojo plugins in struts2
Struts2 - A Query about Redirect
struts2 workflow question
Form Validation using xml in struts2
Struts2 struck with a issue of 404