To share a
Java object, that is not serializable, between JSP pages, when you can't make the object serializable, and can't put it on the session because the non serializable object breaks clustering.
I encountered something like this, with a vendor's proprietary Java API, which was really a poorly documented wrapper for their C API.
In my case, it as ok that the object did not live between requests on the same page, It was only needed to be passed between pages.
What we did was stuff it on the request attribute space, and forward to the second page. Forwarding between pages can then be done with
struts, if you are using struts, or your own handler in the jsp code with request.getRequestDispatcher("page2.jsp").forward(request, response);