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