I am creating a TreeMap
bean. I want to pass this around in the session scope. However, I need to reset/clear this TreeMap
bean.
This is how I am declaring my bean:
<jsp:useBean id="foo" class="java.util.TreeMap" scope="session"/>
Any ideas on how to clear/reset the usebean (and keep using the same id) would be appreciated.