2 Replies Latest reply on May 12, 2009 10:50 AM by Sourav Mazumder

    Usage scenario of Resource Serving through resourceURL in 28

    Sourav Mazumder Newbie


      I'm bit confused to understand what are the real usage scenarios of Resource Serving through resourceURL.

      I can achieve everything what resourceURL (or serverResource method) provides if I create actionURL.

      Only difference I see that serverResource method gives me the flexibility of writing my own markup (as such I can create a complete HTML document) without loosing the Portal context. However, I'm not sure in which scenario I may need to use the same.

      There are many examples which show how to make Ajax calls through resourceURL. However, I can achieve that even by creating an actionURL and sending the output to my target div.

      Any explanations would be really appreciated.