So you think you are an Java uber-geek? Then figure this one out. . .
Ok, uber-Java geeks, let's see if you can figure this one out. It' s butt-ugly and got me totally stumped.
This is in a Tomcat 5.5 environment.
I have a jsp (hierarchy.jsp) which has static nested class called MgmtAuthBean. This hierarchy.jsp creates a TreeMap object which contains instances of the static nested class, MgmtAuthBean. So, after compilation of the hierarchy.jsp, I end having 2 jsp's:
hierarchy_jsp.java <==== original jsp
hierarchy_jsp$MgmtAuthBean.java <==== nested static class jsp
Ok, easy to understand so far. . .now for the rub. . .
The hierarchy_jsp.java then saves the TreeMap object in a session.
Another servlet (ExcelServlet) then accesses this saved session object, but in the process of reconstituting the TreeMap object, it requires access to the nested static class hierarchy_jsp$MgmtAuthBean.java.
The problem is that ExcelServlet craters because it can't find hierarchy_jsp$MgmtAuthBean.java in order to reconstitute the TreeMap object.
Since jsp's are dynamically created when called, how do I point either the Tomcat container or ExcelServlet to hierarchy_jsp$MgmtAuthBean.java?
For reason's too stupid to explain, I can't get rid of the static nested class, so I have to figure out how to make this work. . .
:)

