File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes If calling Struts Action from Jquery Ajax Call, should the result tag in struts config be blank? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "If calling Struts Action from Jquery Ajax Call, should the result tag in struts config be blank?" Watch "If calling Struts Action from Jquery Ajax Call, should the result tag in struts config be blank?" New topic
Author

If calling Struts Action from Jquery Ajax Call, should the result tag in struts config be blank?

Monica. Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 541
I am calling Struts 2 Action from Jquery AJAX call using the below syntax:




I want to know what should be written in the struts.xml configuration file result type in his case?

I tried omitting the result tag (I am returning null from struts Action)but it gave error message saying no result defined for type success.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: If calling Struts Action from Jquery Ajax Call, should the result tag in struts config be blank?
 
Similar Threads
jQuery and JSF - NEWBIE question
AJAX with Struts
Struts / Ajax question
struts2 (2.1.8.1) json result type problems
How to Populate TextField result in another Textfield on same page..using struts2 jquery AJAX