You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2013/03/07 13:20:13 UTC

[jira] [Resolved] (SLING-2777) Expand the Servlets documentation to include examples on how to bind servlets

     [ https://issues.apache.org/jira/browse/SLING-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved SLING-2777.
--------------------------------------

    Resolution: Fixed

Thank you very much for providing the patch.

I have applied it with a slight modification in Rev. 1453801 and published the site. The modification is omission of the @Component and @Service tags for the @SlingServlet sample (they are not required) and omission of the package and import statements.
                
> Expand the Servlets documentation to include examples on how to bind servlets
> -----------------------------------------------------------------------------
>
>                 Key: SLING-2777
>                 URL: https://issues.apache.org/jira/browse/SLING-2777
>             Project: Sling
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Radu Cotescu
>            Assignee: Felix Meschberger
>            Priority: Minor
>         Attachments: servlets.patch
>
>
> The Servlets documentation lacks examples on how a developer can bind their servlets using Java annotations from the Apache Felix project. We should provide at least two basic examples, one showcasing the usage of the @SlingServlet annotation and the other for the @Properties and @Property annotations.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira