On 13 July 2010 09:34, abhishek jain <abhishek.netj...@gmail.com> wrote:

> I am using tomcat 5.5 , struts 1.x and i encounter the following error:
> I actually store the object in session and retrieve that(for a shopping
> cart
> application), pl. advice what i can do to remove this error:
>
> java.io.NotSerializableException: com.cart.Customer
>

You need to make sure that com.cart.Customer (and anything else you store in
the session) is serializable.

- Peter

Reply via email to