aspose 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


Win a copy of Spring in Action this week in the Spring forum!
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: 644
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
 
Don't get me started about those stupid light bulbs.
 
subject: If calling Struts Action from Jquery Ajax Call, should the result tag in struts config be blank?