-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm faced with a problem that is maybe really easy to solve...
I have n JSP pages, and they all have a form. Each page contains a JAVA object
associated to it (called cRessource).
Because I want to keep these objects within the page, this is what I have done
:
created a cRessource for each page
saved it in the session in a String as this : "myRessource" + index (index is
unique to each page)
When I have submitted the form, I do a session.getAttribute("myRessource" +
index)
When I come for the first time to a page I create my ressource and put it in
the session.
The problem is that this is very heavy in memory, I want to destroy every
"myRessource" once I quit the page. I tried to use jspDetroy method but :
I have no idea when exactly this is called
I cannot use my index variable in it
I hope I have been clear and someone has an idea on this
Thanks
Rapha�l
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9KqOoh2ITK4xBkFERAq38AJ9DYAEYGBOvQGwNO6RBinptbhHH5wCfcSkn
iSDAXqcoa3ZVHQSFybECJ0E=
=cHmv
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>