Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Monica Shiralkar
Ranch Hand
Posts: 826
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic