We got the session object casting working when we used Felix's suggestion of
the fragment bundle.

However, the question of the JSP is still there.

Sarwar


On Fri, Mar 4, 2011 at 11:37 AM, Alexander Klimetschek
<aklim...@adobe.com>wrote:

> On 03.03.11 19:47, "Unmesh Joshi" <unmeshjo...@gmail.com> wrote:
>
> >The actual deserialization is going on and it happens only when
> >session.getAttribute is called from JSP in sling. If its called from
> >SlingServlet, which is in OSGI bundle, this doesn't happen.
> >We do not need serialization at all, but not sure why this kind of
> >thing is happening only when called from JSP running in sling.
>
> Ok, that sounds a bit weird. How does the stack trace (when debugging)
> look like if you call session.getAttribute() from a servlet in sling?
>
> Regards,
> Alex
>
> --
> Alexander Klimetschek
> Developer // Adobe (Day) // Berlin - Basel
>
>
>
>
>

Reply via email to