1 Reply Latest reply on Feb 11, 2013 9:45 PM by msulliva

    CUSTOM URL EXTENSIONS

    bhssss

      I am relatively new to CQ5. How do you make your own extension in url like http://www.mywebsite.com/product/mypage.myextension instead of having .html in the last?

       

      .html returns data in HTML format

      .json returns data in JSON format

      .xml returns data in XML format

      .txt returns data in Plain txt format

      .myextension returns data in MY format

       

      Want to return data in a proprietary format.

       

      1)For this do we need to write a OSGI bundle using @SlingServlet?

       

      2)Can anyone explain how does @SlingServlet works?