how to create a session in slingservlet can anybody pls tell me??
Are you looking to get jcr session in sling servlet? if yes use request.getResourceResolver().adaptTo(Session.class); which will give you the current JCR session, you don't have to create a session.
can u pls tell me how to use it
Retrieving data ...